Commit graph

5 commits

Author SHA1 Message Date
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
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