mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-13 04:05:04 +03:00
8f41eb93ef
Builder Win / Build PluginLoader for Win (push) Has been cancelled
Builder / Build PluginLoader (push) Has been cancelled
Push Updated Plugin Stub to Template / copy-stub (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
Type Check / Run type checkers (push) Has been cancelled
* fix incorrect permissions on plugin directories * chown plugin dirs too * fix the stupid * cleanup useless comments
9 lines
281 B
Python
9 lines
281 B
Python
from enum import IntEnum
|
|
|
|
class UserType(IntEnum):
|
|
HOST_USER = 1 # usually deck
|
|
EFFECTIVE_USER = 2 # usually root
|
|
|
|
class PluginLoadType(IntEnum):
|
|
LEGACY_EVAL_IIFE = 0 # legacy, uses legacy serverAPI
|
|
ESMODULE_V1 = 1 # esmodule loading with modern @decky/backend apis |