fix(输入法): 消除RTOS和Android文字键盘间距

这个提交包含在:
sydxky 于 2026-11-14 17:38:11 +08:00 提交
1 父节点 87aa966a51
当前提交 bce6f8083b
27 个文件已更改
+406 -253

没有与搜索条件相匹配的文件

+18 -1
查看文件
@@ -24,7 +24,23 @@ $targets = if ($QuickAppOnly) {
}
$originalPath = $env:Path
Push-Location $ProjectRoot
$buildRoot = $ProjectRoot
$mappedDrive = $null
# Bundled pngquant still uses MAX_PATH; keep deeply generated apps buildable.
if ($IsWindows -and $ProjectRoot.Length + $manifest.package.Length + 150 -gt 245) {
$subst = Join-Path $env:SystemRoot 'System32\subst.exe'
foreach ($letter in @('Z','Y','X','W','V','U','T','S','R')) {
if (Test-Path -LiteralPath ($letter + ':\')) { continue }
& $subst ($letter + ':') $ProjectRoot 2>&1 | Out-Null
if ($LASTEXITCODE -eq 0) {
$mappedDrive = $letter + ':'
$buildRoot = $mappedDrive + '\'
break
}
}
if (-not $mappedDrive) { throw 'No temporary drive available for the vendor MAX_PATH workaround; use a shorter ProjectRoot' }
}
Push-Location $buildRoot
try {
$env:Path = "$toolBin;$originalPath"
$availableDevices = @(& $gx list device)
@@ -77,5 +93,6 @@ try {
}
} finally {
Pop-Location
if ($mappedDrive) { & $subst $mappedDrive /D | Out-Null }
$env:Path = $originalPath
}