Skip to content
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

Sims/pyinstaller misuse fix #657

Merged
merged 3 commits into from
Aug 4, 2024
Merged

Conversation

suchmememanyskill
Copy link
Contributor

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
    • Tested on Windows and Steam Deck (preview)
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

We incorrectly use pyinstaller in some parts of decky. This PR fixes that.
For more details, see this discussion

This originally was to fix windows again, but just because it worked on linux doesn't mean these misuses shouldn't be fixed.

Note: This PR brings a massive breaking change. We handle imports properly now, which means decky plugins can no longer use decky internals in their own application. (They still kind of can, but only what is explicitly imported into sandboxed_plugin.py).

Imo it's preferrable that plugins do not use decky internals in their own plugins. I think we should reconsider this.

@suchmememanyskill suchmememanyskill merged commit 75aa1e4 into main Aug 4, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants