Commit Graph

80 Commits

Author SHA1 Message Date
suchmememanyskill
fd325ef1cc Add cross-platform support to decky (#387)
* 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-21 17:37:23 -07:00
TrainDoctor
faf46ba533 Update edit-check.yml 2023-03-09 16:32:54 -08:00
TrainDoctor
94ec434eae Update edit-check.yml 2023-03-09 16:31:43 -08:00
TrainDoctor
a223efd6f5 Update edit-check.yml 2023-03-09 10:24:01 -08:00
TrainDoctor
0dd0d9f4bd Add CI to automatically update plugin stub in template 2023-03-05 16:23:17 -08:00
TrainDoctor
fc0089f7a5 Update bug_report.yml 2023-02-25 07:26:58 -08:00
TrainDoctor
611245aec9 Update bug_report.yml 2023-02-22 17:38:46 -08:00
Philipp Richter
f1e679c3fb Expose a 'decky_plugin' module to decky plugins (#353)
* 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-02-19 14:42:55 -08:00
Sky Leite
0b718daa47 Add lint job to build workflow (#363)
* Add lint job to build workflow

* Add prettier-plugin-import-sort

* Install prettier plugins before linting

* Use lint script from package.json

* Move linters to separate workflow

* Remove Python and Shell linters

* Remove popd

* Test that prettier properly fails the lint job
2023-02-03 19:40:29 -08:00
TrainDoctor
c05e8f9ae0 Update build.yml 2023-01-22 16:33:06 -08:00
TrainDoctor
635edf7f5b fix releases being called prereleases 2023-01-17 15:37:43 -08:00
Party Wumpus
e8b4c4a307 Fix the download button (#330)
* Remove .desktop file from build.yml

* Make download button link to decky-installer repo

* Point download button to the .desktop file not the .sh file 

woops

* Delete decky_installer.desktop

* Delete user_install_script.sh
2023-01-09 10:16:20 -08:00
Party Wumpus
e92b66068a Use the new installer in the readme instructions (#324) 2023-01-08 13:16:44 -08:00
Party Wumpus
b8fdff8093 Add feature requests as an issue template (#318)
* Create feature_request.yml

* Update feature_request.yml
2023-01-06 09:23:05 -08:00
TrainDoctor
34af340009 Update config.yml 2023-01-05 18:50:10 -08:00
Party Wumpus
0ffef6e4bf Better bug report format (#312)
* Add files via upload

* Delete bug_report.md

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml
2023-01-02 08:45:42 -08:00
TrainDoctor
2a6bf75f02 Move back to python 3.10.2 in CI 2022-12-10 15:26:51 -08:00
TrainDoctor
ea35af2050 Update build.yml 2022-12-08 15:18:44 -08:00
TrainDoctor
35e46f9ccb Update build.yml 2022-12-07 14:31:09 -08:00
TrainDoctor
f923306a7f Update issue templates 2022-11-19 14:19:33 -08:00
AAGaming
a9bd5079de remove ver suffix 2022-10-24 21:08:35 -04:00
AAGaming
c1fabe5b35 pin pyinstaller to 5.5-py3 2022-10-24 21:07:49 -04:00
AAGaming
ed82f51bb7 use same python ver as deck 2022-10-24 20:55:38 -04:00
AAGaming
df1524e15f nevermind dont 2022-10-24 20:51:56 -04:00
AAGaming
2edd910df3 ci: upgrade python to 3.11 2022-10-24 20:48:58 -04:00
TrainDoctor
0226bd2bf8 Update build.yml 2022-10-22 13:02:23 -07:00
TrainDoctor
9b405e4bdc Fix default pre-release bump 2022-10-15 11:31:53 -07:00
AAGaming
91d4e5dfc3 fix the fix 2022-10-14 23:47:57 -04:00
AAGaming
c885ee600d replace deprecated set-output in CI 2022-10-14 23:46:46 -04:00
AAGaming
acdea6da44 pnpm uses frozen instead of ci 2022-10-14 23:29:32 -04:00
AAGaming
f23ea5b841 IDIOT 2022-10-14 23:28:37 -04:00
AAGaming
d51cd4605c wtf 2022-10-14 23:27:59 -04:00
AAGaming
7d73c7aa79 setup-pnpm action is bad, do it ourself 2022-10-14 23:26:42 -04:00
AAGaming
fd187a6710 forgot with 2022-10-14 23:25:13 -04:00
AAGaming
43ef9e65ea this arg format is terrible 2022-10-14 23:24:39 -04:00
AAGaming
9233ee58c6 fix ci 2022-10-14 23:22:01 -04:00
AAGaming
fd59456f8b more CI cleanup 2022-10-14 23:13:36 -04:00
AAGaming
9b241101dd Upgrade NodeJS to 18 in CI 2022-10-14 23:08:27 -04:00
TrainDoctor
010e6a22ab don't test on live folks -_- 2022-10-08 17:25:34 -07:00
TrainDoctor
134b896e01 Append "-pre" before bumping pre-release version 2022-10-08 17:17:40 -07:00
TrainDoctor
047813b965 Merge branch 'update-ci' w/ needed updates 2022-10-08 17:08:36 -07:00
TrainDoctor
fa028fa525 Update build.yml 2022-10-02 08:19:41 -07:00
TrainDoctor
c947548064 Update build.yml 2022-10-02 08:11:00 -07:00
TrainDoctor
304fc0f94c Update build.yml 2022-09-11 15:40:19 -07:00
TrainDoctor
adc1a792fb Whoopsie 2022-09-05 20:13:08 -07:00
TrainDoctor
6347ad0856 Added handling for release to pre-release, pre-rel to rel and rel to rel 2022-09-05 20:03:09 -07:00
TrainDoctor
1377d83023 Better handling for release to new pre-release 2022-09-05 19:37:33 -07:00
TrainDoctor
43d36d2b35 temp 2022-09-05 19:32:27 -07:00
TrainDoctor
a3659ba425 Oops I need that 2022-09-04 21:14:38 -07:00
TrainDoctor
d1887870f5 return default value for out to "" 2022-09-04 21:03:45 -07:00