From 991e7fbdc8c0560ff2e9d99379ba69af7b33305e Mon Sep 17 00:00:00 2001 From: Sejong Yoo Date: Sun, 25 Oct 2026 01:56:56 +0900 Subject: [PATCH] fix: leave source maps out of the plugin zip; release 0.1.1 Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- scripts/package.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1358484..0a6ab21 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mudfish-decky", - "version": "0.1.0", + "version": "0.1.1", "description": "Toggle Mudfish Cloud VPN Full VPN mode from Steam Deck Gaming Mode", "type": "module", "scripts": { diff --git a/scripts/package.py b/scripts/package.py index 5b5037c..993d079 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -26,7 +26,8 @@ def _files(src: str): for root, dirs, files in os.walk(path): dirs[:] = sorted(d for d in dirs if d != "__pycache__") for name in sorted(files): - if not name.endswith(".pyc"): + # bytecode is rebuilt on the Deck; source maps are only for debugging + if not name.endswith((".pyc", ".map")): yield os.path.relpath(os.path.join(root, name), src)