mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Add source path back to macOs installer for fetching dmg background image
CURA-6867
This commit is contained in:
parent
3a24ab1bee
commit
116d2b9ce5
2 changed files with 2 additions and 1 deletions
2
.github/workflows/cura-installer.yml
vendored
2
.github/workflows/cura-installer.yml
vendored
|
@ -310,7 +310,7 @@ jobs:
|
||||||
|
|
||||||
- name: Create the MacOS dmg and/or pkg (Bash)
|
- name: Create the MacOS dmg and/or pkg (Bash)
|
||||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||||
run: python ../cura_inst/packaging/MacOS/build_macos.py . "${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}"
|
run: python ../cura_inst/packaging/MacOS/build_macos.py ../cura_inst . "${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}"
|
||||||
working-directory: dist
|
working-directory: dist
|
||||||
|
|
||||||
- name: Upload the artifacts
|
- name: Upload the artifacts
|
||||||
|
|
|
@ -140,6 +140,7 @@ def create_dmg(filename: str, dist_path: str, source_path: str) -> None:
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = argparse.ArgumentParser(description = "Create installer for Cura.")
|
parser = argparse.ArgumentParser(description = "Create installer for Cura.")
|
||||||
|
parser.add_argument("source_path", type = str, help="Path to Pyinstaller source folder")
|
||||||
parser.add_argument("dist_path", type = str, help="Path to Pyinstaller dist folder")
|
parser.add_argument("dist_path", type = str, help="Path to Pyinstaller dist folder")
|
||||||
parser.add_argument("filename", type = str, help = "Filename of the pkg (e.g. 'UltiMaker-Cura-5.1.0-beta-Macos-X64.pkg')")
|
parser.add_argument("filename", type = str, help = "Filename of the pkg (e.g. 'UltiMaker-Cura-5.1.0-beta-Macos-X64.pkg')")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue