summaryrefslogtreecommitdiff
path: root/backend/plugin.py
AgeCommit message (Collapse)Author
2023-07-01Make sure settings/data/logs gets created as user (#499)v2.10.3-pre2suchmememanyskill
2023-03-21Add cross-platform support to decky (#387)suchmememanyskill
* Import generic watchdog observer over platform specific import * Use os.path rather than genericpath * Split off socket management in plugin.py * Don't specify multiprocessing start type Default on linux is already fork * Move all platform-specific functions to seperate files TODO: make plugin.py platform agnostic * fix import * add backwards compat to helpers.py * add backwards compatibility to helpers.py harder * Testing autobuild for win * Testing autobuild for win, try 2 * Testing autobuild for win, try 3 * Testing autobuild for win, try 4 * Create the plugins folder before attempting to use it * Implement win get_username() * Create win install script * Fix branch guess from version * Create .loader.version in install script * Add .cmd shim to facilitate auto-restarts * Properly fix branch guess from version * Fix updater on windows * Try 2 of fixing updates for windows * Test * pain * Update install script * Powershell doesn't believe in utf8 * Powershell good * add ON_LINUX variable to localplatform * Fix more merge issues * test * Move custom imports to main.py * Move custom imports to after __main__ check Due to windows' default behaviour being spawn, it will spawn a new process and thus import into sys.path multiple times * Log errors in get_system_pythonpaths() and get_loader_version() + split get_system_pythonpaths() on newline * Remove whitespace in result of get_system_pythonpaths() * use python3 on linux and python on windows in get_system_pythonpaths() * Remove fork-specific urls * Fix MIME types not working on Windows
2023-02-19Expose a 'decky_plugin' module to decky plugins (#353)Philipp Richter
* Expose a 'decky_plugin' module to decky plugins * expose decky user home path * support 'py_modules' python modules in plugins * allow for a '_migration' method in plugins to have an explicit file moving step * Expose the plugin python module as .pyi stub interface * Expose system and user python paths to plugins
2023-01-29Add python logging to browser and pluginTrainDoctor
2023-01-29Add better handling for unloading of pluginsTrainDoctor
2023-01-22Expose useful env vars to plugin processes (#349)v2.5.2-pre1v2.5.2Philipp Richter
* recommended paths for storing data * improve helper functions
2022-12-16Potentially fix locale issues (#284)v2.4.6-pre5Nik
2022-10-22Actually utilize the unload functionTrainDoctor
2022-10-22Added unload hook for plugins.TrainDoctor
2022-09-18don't crash when plugin backends doAAGaming
2022-08-31Fix LimitOverrunError when a lot of data is passed to the backend (fixes ↵Philipp Richter
#158) (#161) * Fix LimitOverrunError when a lot of data is passed to the backend * Raise socket's buffer limit to something more sensible
2022-08-24set gid along with uid (#152)Chris Simons
2022-08-21Add plugin updater, notification badge, fixesv2.0.5-pre15AAGaming
2022-07-15fix lockup in _open_socket_if_not_exists, probably fix ci prereleasesAAGaming
2022-06-13fix(loader): multiprocessing.set_start_method once, queue for plugin importJonas Dellinger
2022-06-13fix(loader): eplixcitly set process start method and import fsevents on macJonas Dellinger
2022-05-26Cleanup after mergeJonas Dellinger
2022-05-26display overhaul, compatibility with legacy plugins, fixesmarios
2022-05-25Added support for static assets, remove frontend_bundle fieldJonas Dellinger
2022-05-13Work on react frontend loaderJonas Dellinger