From df55c49c3f81794a96e32755c7aaa146d990fc56 Mon Sep 17 00:00:00 2001 From: Ruben Grossmann Date: Fri, 1 Oct 2021 13:19:31 +0200 Subject: [PATCH] make the build script platform independent --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 79647189..498dfe90 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "author": "luin (http://zihua.li)", "main": "dist/main", "scripts": { - "build": "rm -rf dist && webpack", + "build": "npx rimraf dist && webpack", "watch": "WEBPACK_WATCH=true npm run build", "start": "electron .", "pack": "NODE_ENV=production npm run build && node bin/pack.js"