Windows-Setup (Inno Setup): Installation pro Benutzer, Installer-Test im Build
- PyInstaller baut unter Windows zusätzlich die Ordner-Variante dist/Provisionsmanager/ (schnellerer Start); onefile-.exe und .zip bleiben, Linux unverändert - build/installer.iss: ohne Admin nach %LOCALAPPDATA%\Programs\Provisionsmanager, Startmenü, optional Desktop, deutsch, feste AppId, CloseApplications, Benutzerdaten in %APPDATA%\Provisionsmanager95 bleiben bei Deinstallation erhalten - build_windows.sh: Inno Setup 6.7.3 (SHA256 geprüft) unter Wine installieren, Setup bauen, still installieren, Selbsttest der installierten .exe, still deinstallieren und prüfen - Pipeline: Setup als Artefakt und am Release; README-Abschnitt Installation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7b9a2acec0
commit
ec99042569
6 files changed
+130
-17
No files matched your search
@@ -1,4 +1,5 @@
|
||||
# PyInstaller-Spezifikation – erzeugt eine einzelne Programmdatei (Windows: .exe, Linux: ELF)
|
||||
# PyInstaller-Spezifikation – erzeugt eine einzelne Programmdatei (Windows: .exe, Linux: ELF),
|
||||
# unter Windows zusätzlich den Ordner dist/Provisionsmanager/ (schneller Start, Inhalt des Setups)
|
||||
# Aufruf: pyinstaller --noconfirm build/provisionsmanager.spec
|
||||
import os
|
||||
import sys
|
||||
@@ -31,3 +32,19 @@ exe = EXE(
|
||||
strip=False,
|
||||
runtime_tmpdir=None,
|
||||
)
|
||||
|
||||
if WIN:
|
||||
exe_ordner = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name="Provisionsmanager",
|
||||
icon=os.path.join(ROOT, "assets", "app.ico"),
|
||||
version=os.path.join(ROOT, "build", "version_info.txt"),
|
||||
console=False,
|
||||
upx=False,
|
||||
debug=False,
|
||||
strip=False,
|
||||
)
|
||||
COLLECT(exe_ordner, a.binaries, a.datas, name="Provisionsmanager", upx=False, strip=False)
|
||||
Reference in new issue
Block a user