-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix mac cover upload when frozen by removing plist #564
Conversation
spec files are used in the build process and had to be adapted from the auto generated ones. kcc/.github/workflows/package-windows-with-docker.yml Lines 28 to 42 in 217f571
|
The file is needed by the bundle normally.
Are you using a bundled binary?
removing the included binaries will complicate things for those using them with older mac os architectures. disclaimer: I don't own an Apple computer currently and can't test this PR right now. |
OK, I thought multiple issues were related, but turns out they aren't, so I'll be editing this PR to only focus on the plist. This was my first time building and running binaries using PyInstaller provides a plist file like:
If we attempt to copy in our own plist we get the permission issue. I have no clue why, but I don't think our plist is doing anything functional, we don't use it when running from source anyways. Even if I copy in an identical plist, I get the issue. So the problem lies in copying the plist into the .app, not the contents of the plist. The proper way to edit the plist is here: https://pyinstaller.org/en/stable/spec-files.html#spec-file-options-for-a-macos-bundle But I'm don't think it's necessary to change the default values. Our current plist is already outdated. |
Superseded by #566 due to merge conflicts |
Fixes #482
Fixes #436 together with #565
To clarify frozen is referring to a pyinstaller built binary
EDIT: Various issues that turned out to be unrelated were deleted.