From 078e0f445192b087d41f691aee67ae6c1b73294a Mon Sep 17 00:00:00 2001 From: deepanshu verma Date: Tue, 6 Jan 2026 11:45:53 +0530 Subject: [PATCH] Fix: Make build script cross-platform (replace cp with cpy) for Windows --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f03480..5003407 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "main": "src/background.js", "scripts": { "sync-version": "node scripts/sync-version.mjs", - "build": "npm run sync-version && tsc && cp src/manifest.json dist/ && cp src/popup.html dist/ && cp -r src/icons dist/", + "build": "npm run sync-version && tsc && cpy src/manifest.json dist/ && cpy src/popup.html dist/ && cpy src/icons/**/* dist/icons/", "package": "web-ext build --source-dir=dist --artifacts-dir=. --filename=ipfs-quicklaunch.zip --overwrite-dest", "publish:chrome-store": "npx cws-publish \"$CHROME_CLIENT_ID\" \"$CHROME_CLIENT_SECRET\" \"$CHROME_REFRESH_TOKEN\" ipfs-quicklaunch.zip \"$CHROME_EXTENSION_ID\"", "release": "aegir release", @@ -138,6 +138,7 @@ "devDependencies": { "@types/chrome": "^0.0.248", "aegir": "^47.0.20", + "cpy-cli": "^6.0.0", "cws-publish": "^2.1.1", "typescript": "^5.0.0", "web-ext": "^8.3.0"