From e0ec175d16156f50b87374c14d8c9ee9f2c613a0 Mon Sep 17 00:00:00 2001 From: TrainDoctor <11465594+TrainDoctor@users.noreply.github.com> Date: Sat, 3 Jun 2023 07:42:27 -0700 Subject: Global dfl (#24) * Initial global DFL support * Update DFL * Remove unmaintained makefile * Move to CLI * Properly extract zip files! --------- Co-authored-by: AAGaming --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3b61bfc..a3e32a3 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Reference example for using [decky-frontend-lib](https://github.com/SteamDeckHom This template relies on the user having Node.js v16.14+ and `pnpm` (v8+) installed on their system. pnpm can be downloaded from `npm` itself which is recommended. +If you would like to build plugins that have their own custom backends, Docker is required as it is used by the Decky CLI tool. + #### Linux ```bash @@ -19,6 +21,8 @@ sudo npm i -g pnpm ### Making your own plugin +If you use VSCode or it's derivatives (we suggest [VSCodium](https://vscodium.com/)!) just run the `setup` and `build` tasks. It's really that simple. + 1. You can fork this repo or utilize the "Use this template" button on Github. 2. In your local fork/own plugin-repository run these commands: 1. ``pnpm i`` @@ -27,7 +31,9 @@ sudo npm i -g pnpm 3. Consult the [decky-frontend-lib](https://github.com/SteamDeckHomebrew/decky-frontend-lib) repository for ways to accomplish your tasks. - Documentation and examples are still rough, - While decky-loader primarily targets Steam Deck hardware so keep this in mind when developing your plugin. -4. If you want an all encompassing demonstration of decky-frontend-lib's capabilities check out [decky-playground](https://github.com/SteamDeckHomebrew/decky-playground). It shows off almost all of decky-frontend-lib's features. +4. Run the `setup` and `build` and `deploy` vscode tasks, or you can derive your own makefile or just manually utilize the scripts for these commands as you see fit. + +If you use VSCode or it's derivatives (we suggest [VSCodium](https://vscodium.com/)!) just run the `setup` and `build` tasks. It's really that simple. #### Other important information @@ -56,6 +62,8 @@ hello: The CI does create the `out` folder itself but we recommend creating it yourself if possible during your build process to ensure the build process goes smoothly. +Note: When locally building your plugin it will be placed into a folder called 'out' this is different from the concept described above. + The out folder is not sent to the final plugin, but is then put into a ``bin`` folder which is found at the root of the plugin's directory. More information on the bin folder can be found below in the distribution section below. -- cgit v1.2.3