Skip to content

fix(macOS): fix macOS type checking and missing method#923

Open
giodotblue wants to merge 3 commits into
SteamDeckHomebrew:mainfrom
giodotblue:dev/gio/mac-fixes
Open

fix(macOS): fix macOS type checking and missing method#923
giodotblue wants to merge 3 commits into
SteamDeckHomebrew:mainfrom
giodotblue:dev/gio/mac-fixes

Conversation

@giodotblue

Copy link
Copy Markdown
Contributor

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

This fixes issues related to backend macOS support

Fixes get_system_pythonpaths() in helpers.py and resolves the type checking failures

I've also found an issue with hot reloading on Mac, so I've disabled that and I'll make a PR (the fix is sorta large)

Fixes the code styling that pyright wasn't happy with

Also adds _get_user_id which gets used in helpers.py

Signed-off-by: Gianni Spadoni <me@gio.blue>
macOS can use the same flow as Linux here.

Adds is_linux_or_mac (maybe should be is_posix?)

Signed-off-by: Gianni Spadoni <me@gio.blue>
Plugins get stuck in a loop of loading infinitely on macOS

The fix requires changes that might impact other platforms, so disable the feature for now

Signed-off-by: Gianni Spadoni <me@gio.blue>
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.

1 participant