Skip to content

Commit

Permalink
Restore operating system name in final executables
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Nov 8, 2023
1 parent 141f072 commit 97d2036
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builder/pyinstaller_build_macos.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# variables
output_filename = (
f"{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
f"MacOS_{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
)
package_folder = Path("qgis_deployment_toolbelt")

Expand Down
2 changes: 1 addition & 1 deletion builder/pyinstaller_build_ubuntu.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# variables
output_filename = (
f"{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
f"Ubuntu_{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
)
package_folder = Path("qgis_deployment_toolbelt")

Expand Down
2 changes: 1 addition & 1 deletion builder/pyinstaller_build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

# variables
output_filename = (
f"{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
f"Windows_{__about__.__title_clean__}_{__about__.__version__.replace('.', '-')}"
)
package_folder = Path("qgis_deployment_toolbelt")

Expand Down
2 changes: 1 addition & 1 deletion docs/development/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The project takes advantage of [PyInstaller](https://pyinstaller.readthedocs.io/) to package the application into an executable.

The output binary and all embedded dependencies is located into a subfolder named: `dist/QGISDeploymentToolbelt_{version}`. A file named `build_environment_report.txt` containing build environment information is generated at the project's root.
The output binary and all embedded dependencies is located into a subfolder named `dist`: `dist/{operating_system}_QGISDeploymentToolbelt_{version}`, where operating system is one of `MacOS`, `Ubuntu`or `Windows`. A file named `build_environment_report.txt` containing build environment information is generated at the project's root.

### Windows

Expand Down

0 comments on commit 97d2036

Please sign in to comment.