fix: build Windows — nettoyer python-embed avant extraction + supprimer champs NSIS invalides
CI / lint (push) Successful in 29s
CI / security (push) Successful in 18s
CI / test (push) Successful in 29s
CI / build (push) Successful in 8s
CI / e2e (push) Failing after 16s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
CI / lint (push) Successful in 29s
CI / security (push) Successful in 18s
CI / test (push) Successful in 29s
CI / build (push) Successful in 8s
CI / e2e (push) Failing after 16s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
- build-windows.bat: rmdir python-embed avant téléchargement (évite conflit Expand-Archive) - tauri.conf.json: retirer shortcutName et createDesktopShortcut (n'existent pas dans NsisConfig Tauri v2)
This commit is contained in:
@@ -20,6 +20,7 @@ REM ── 2. Préparer Python 3.11 embed ────────────
|
|||||||
echo [2/6] Preparing Python embed...
|
echo [2/6] Preparing Python embed...
|
||||||
if not exist "python-embed\python.exe" (
|
if not exist "python-embed\python.exe" (
|
||||||
echo 📥 Downloading Python 3.11 embed...
|
echo 📥 Downloading Python 3.11 embed...
|
||||||
|
if exist "python-embed" rmdir /s /q "python-embed"
|
||||||
curl -L -o python-embed.zip "https://www.python.org/ftp/python/3.11.9/python-3.11.9-embed-amd64.zip"
|
curl -L -o python-embed.zip "https://www.python.org/ftp/python/3.11.9/python-3.11.9-embed-amd64.zip"
|
||||||
powershell Expand-Archive -Path python-embed.zip -DestinationPath python-embed\
|
powershell Expand-Archive -Path python-embed.zip -DestinationPath python-embed\
|
||||||
del python-embed.zip
|
del python-embed.zip
|
||||||
|
|||||||
@@ -58,8 +58,6 @@
|
|||||||
"nsis": {
|
"nsis": {
|
||||||
"installMode": "currentUser",
|
"installMode": "currentUser",
|
||||||
"installerIcon": "icons/icon.ico",
|
"installerIcon": "icons/icon.ico",
|
||||||
"shortcutName": "ObsiGate",
|
|
||||||
"createDesktopShortcut": true,
|
|
||||||
"startMenuFolder": "ObsiGate"
|
"startMenuFolder": "ObsiGate"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user