File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ jobs:
189189 - name : Build the deb package
190190 run : |
191191 VERSION=$(uv run python -c "import ode; print(ode.__version__)")
192- uv run build.py --onefile --name "opendataeditor-$VERSION.AppImage"
192+ uv run build.py build --onefile --name "opendataeditor-$VERSION.AppImage"
193193 - name : Archive build artifacts
194194 uses : actions/upload-artifact@v4
195195 with :
Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ def build_application():
8080 # is installed which might not be the case for all of our users.
8181 params .extend (["--add-binary" , "C:\\ Windows\\ system32\\ vcomp140.dll:." ])
8282
83+ # Allow calling `python build.py build` with extra arguments
84+ # e.g. when building AppImage `python build.py build --onefile --name "opendataeditor-X.Y.Z.AppImage"`
85+ cli_args = sys .argv [2 :]
86+ if cli_args :
87+ params .extend (cli_args )
88+
8389 PyInstaller .__main__ .run (params )
8490
8591 # Clean the spec file generated by PyInstaller
You can’t perform that action at this time.
0 commit comments