[patch] 处理DY安装包打包后图片视频暂存路径部分权限问题 处理编码问题 处理js内置环境dll补充
This commit is contained in:
@@ -78,6 +78,13 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pip install py-mini-racer
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
Write-Host "WARNING: Failed to install py-mini-racer (DY platform may not work)"
|
||||||
|
} else {
|
||||||
|
Write-Host "OK: py-mini-racer installed"
|
||||||
|
}
|
||||||
|
|
||||||
Write-Host "Dependencies installed successfully"
|
Write-Host "Dependencies installed successfully"
|
||||||
|
|
||||||
# Step 4: Create GUI version record
|
# Step 4: Create GUI version record
|
||||||
|
|||||||
@@ -121,6 +121,17 @@ def main():
|
|||||||
print(f"Main executable: main.exe ({size:.1f} MB)")
|
print(f"Main executable: main.exe ({size:.1f} MB)")
|
||||||
else:
|
else:
|
||||||
print("WARNING: Main executable not found")
|
print("WARNING: Main executable not found")
|
||||||
|
|
||||||
|
# 🔥 关键修复:添加PyMiniRacer DLL修复步骤
|
||||||
|
print("\nPyMiniRacer DLL fix phase started...")
|
||||||
|
try:
|
||||||
|
import fix_pyminiracer_dll
|
||||||
|
if fix_pyminiracer_dll.auto_fix_after_build():
|
||||||
|
print("PyMiniRacer DLL fix completed")
|
||||||
|
else:
|
||||||
|
print("WARNING: PyMiniRacer DLL fix failed")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"WARNING: PyMiniRacer DLL fix error: {e}")
|
||||||
else:
|
else:
|
||||||
print("\nERROR: Output directory verification failed - dist/MultiPlatformGUI not found")
|
print("\nERROR: Output directory verification failed - dist/MultiPlatformGUI not found")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user