summaryrefslogtreecommitdiff
path: root/backend/updater.py
AgeCommit message (Collapse)Author
2023-10-25Merge aa/type-cleanup-py (work by marios, aa, wolv)v2.10.6-pre1TrainDoctor
2023-08-26Fix for SELinux handling logic (#529)v2.10.5-pre1Marco Rodolfi
* Fix for SELinux handling logic The old procedure was crashing with signal 9 SIGKILL, this should fix that problem
2023-07-29Make the updater work properly on SELinux (#518)v2.10.4-pre6Party Wumpus
* Add DECKY_SELINUX env var * if on selinux make binary executable with chcon * No need to recursively change one file
2023-06-15When decky is uncertain of branch, set the setting to match the guess (#480)v2.10.0Party Wumpus
* If branch setting is missing, set it using the 'guess' from backend * Make the frontend default to stable branch like the backend
2023-05-20Add env var to not replace systemd service file (#462)suchmememanyskill
2023-04-23Make patch notes modal only show current branch (#429)v2.7.2-pre1Beebles
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-03-01Fix QAM And Toaster Injection for Mar 02 Beta (#388)v2.6.3-pre1v2.6.2Beebles
2023-02-19General Backend Fixes (#373)v2.6.0-pre1suchmememanyskill
* General Backend Fixes * Ajust helpers.get_loader_version() to never throw an exception
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-11-15Refactoring in preparation for WebSockets (#254)v2.4.1-pre2AAGaming
* Fix injector race conditions * add some more tasks * hide useless rollup warnings * goodbye to clientsession errors * completely fix desktop mode switch race condition * fix typos and TS warning in plugin error handler * fix chown error * start debugger if needed and not already started * fix get_steam_resource for the like 2 legacy plugins still using it lol * add ClientOSError to get_tabs error handling
2022-10-30facepalmv2.3.1-pre3TrainDoctor
2022-10-30Systemd service updating (#240)v2.3.1-pre2TrainDoctor
* Add services and updated installer files * Loader updates service file during update! * Testing update branch doesn't exist lol * Update to dfl 3.7.12 * Fix services and add working service updater * Revert services but replace their aliases * Fix install scripts as well * Move leftover service files to .systemd dir * No wonder it's not trimming the file... * fix whitespace * Remove unused imports * Remove another un-used import Co-authored-by: AAGaming <aa@mail.catvibers.me>
2022-10-24preview 10/21/2022 fixes (#234)AAGaming
* initial fixes: everything working except toasts and patch notes * tabshook changes, disable toaster for now * prettier * oops * implement custom toaster because I am tired of Valve's shit also fix QAM not injecting sometimes * remove extra logging * add findSP, fix patch notes, fix vscode screwup * fix patch notes * show error when plugin frontends fail to load * add get_tab_lambda * add css and has_element helpers to Tab * small modals fixup * Don't forceUpdate QuickAccess on stable * add routes prop used to get tabs component * add more dev utils to DFL global
2022-10-23During update, download updates first before removing old plugin files (#223)v2.3.0-pre3TrainDoctor
* Remove old nightly support and unused logging * Removed legacy code + added logic to account for offline update attempts * Update backend/browser.py Co-authored-by: AAGaming <aa@mail.catvibers.me> * Update backend/browser.py Co-authored-by: AAGaming <aa@mail.catvibers.me> * Update frontend/src/toaster.tsx Co-authored-by: AAGaming <aa@mail.catvibers.me> * Use str instead of String (I was tired okay...) * Remove false logic * look for plugins not having remote_binary in pkg Co-authored-by: AAGaming <aa@mail.catvibers.me>
2022-09-17fix updater for new installs, fix file picker patch, fix scrolling on patch ↵AAGaming
notes, fix tasks dir
2022-09-17Update updater.pyTrainDoctor
2022-09-17fix spacing [skip ci]AAGaming
2022-09-17fix asyncio error on get_branchAAGaming
2022-09-01Addition of proper branch slection (#168)TrainDoctor
* This is a bit better, but branch selection still isn't working -_- * I'm the king of oversight * Selecting different branch checks for updates * Stable doesn't detect old versions, which indicates it doesn't work * Start adding deckyState for plugin updating * Few tweaks * Disable nightly selection * Update decky-frontend-lib and move useSetting set setting to async
2022-08-26basic patch notes viewer, lazy-load settings and store, build frontend as ↵AAGaming
esmodule, add lazy-loaded react-markdown, backend changes to accomodate ESModule frontend
2022-08-11Updater should now find all version tagsv2.0.5-pre.3TrainDoctor
2022-08-09Add api for showing toast notificationsv2.0.4-67426af-preAAGaming
2022-07-15more updater fixesv2.0.4-f015e00-preAAGaming
2022-07-15catch rm errorsAAGaming
2022-07-15fix updaterv2.0.4-103d43e-preAAGaming
2022-07-15wait 30s before first update checkAAGaming
2022-07-15allow users to manually check for updatesAAGaming
2022-07-14Updater for decky-loader (#117)AAGaming
* Add an updater in settings for decky-loader * add chmod * remove junk comments