Commit graph

160 commits

Author SHA1 Message Date
j.delarago
afa899cf21 Add dmg building script 😎
CURA-9365
2022-06-30 15:08:46 +02:00
j.spijker@ultimaker.com
a2da68d806 Updated mapping of pyinstaller metadata
Contributes to CURA-9365
2022-06-30 14:49:07 +02:00
Ghostkeeper
72b1097c9a
Add auxiliary files needed for AppImage
AppRun is the file that gets packaged inside of the AppImage that bootstraps the application.
The AppImage can only have one icon, so we use the largest sample we have available.
The appdata.xml contains some metadata.

Contributes to issue CURA-9409.
2022-06-30 14:43:52 +02:00
Ghostkeeper
047d7b1b19
Provision desktop file with Jinja to put in version number
This way the Desktop file for the AppImage knows the version number, and the appimage itself knows it too.

Contributes to issue CURA-9409.
2022-06-30 14:43:51 +02:00
Ghostkeeper
c2f3161fb6
Allow providing dist_path and version via command line arguments
Previously you had to call the script from the dist path specifically, using the cwd as a parameter. Now you can provide a different path, allowing you to call this script from any location.
Also the version number used to be hard-coded. Now that can be provided by the caller.

Contributes to issue CURA-9409.
2022-06-30 14:43:51 +02:00
c.lamboo
394942e2cf Move resources for mac dmg creation
CURA-9365
2022-06-30 14:34:22 +02:00
Ghostkeeper
648c1e95db
Add main function to make it easier to call this
Contributes to issue CURA-9409.
2022-06-30 11:48:56 +02:00
Ghostkeeper
f3fd2d6f80
Fix calling subprocesses
We shouldn't unpack the list. The first argument is allowed to be a list. If we unpack it, it'll override other arguments to the call function that would be the wrong type then (buffer size).

Contributes to issue CURA-9409.
2022-06-30 11:48:56 +02:00
Ghostkeeper
254edfd3ec
Fix deleting old files if they exist
Rmdir crashes when it needs to delete just one file, annoyingly.

Contributes to issue CURA-9409.
2022-06-30 11:48:56 +02:00
Ghostkeeper
970e0d8395
Add script to package and sign AppImages
This has not been tested yet at all.

Contributes to issue CURA-9409.
2022-06-30 11:48:55 +02:00