mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-10 21:03:14 +02:00
eeaa059a77
**`build-aux/windows/QElectroTech.wxs`** - Desktop and Start Menu shortcuts now point directly to `bin\qelectrotech.exe` with all required arguments (`--common-elements-dir`, `--common-tbt-dir`, `--lang-dir`, `-style windowsvista`) — no `.bat` wrapper needed - Added a deferred `CustomAction` that runs after `InstallFiles` and recursively sets all files in `elements\` to read-only using an inline PowerShell command **`.github/workflows/windows-msi.yml`** - Replaced the step that created `Lancer QET.bat` with a step that removes it from the artifact before the WiX build, so it is not embedded in the MSI - The `.bat` file remains untouched in the ZIP portable build (managed by `windows-build.yml`) - No console window flashing when launching QElectroTech from the MSI shortcuts - The `elements\` directory is properly set to read-only after installation, as required - Cleaner MSI package — no `.bat` file shipped to end users installing via MSI
Place all files of "*win32-readytouse.zip" in the "files/" directory and run "QET.nsi" enjoy