From b1065a41889f0e2252f0d1bf9a003133f4d0caa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB?= Date: Wed, 26 Aug 2026 09:26:02 +0200 Subject: [PATCH] build: update build script to output plugin ZIP --- README.md | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ff1ea3b..cdbb30a 100644 --- a/README.md +++ b/README.md @@ -67,12 +67,13 @@ For automation or if you prefer API keys: ```bash # Install frontend dependencies -pnpm install +npm install -# Build frontend -pnpm run build +# Build frontend and create plugin ZIP +npm run build # The plugin ZIP will be in the out/ directory +# Install via Decky: Settings > Developer > Install Plugin from ZIP File ``` ## Keyboard Shortcuts diff --git a/package.json b/package.json index 706b713..382251d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Bitwarden/Vaultwarden password manager plugin for Decky Loader", "type": "module", "scripts": { - "build": "rollup -c", + "build": "rollup -c && mkdir -p out && zip -r out/decky-vaultwarden.zip dist/ main.py plugin.json defaults/ requirements.txt", "watch": "rollup -c -w", "typecheck": "tsc --noEmit" },