summarylogtreecommitdiffstats
path: root/fix-package-json.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-package-json.patch')
-rw-r--r--fix-package-json.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/fix-package-json.patch b/fix-package-json.patch
new file mode 100644
index 00000000000..a7e61c18207
--- /dev/null
+++ b/fix-package-json.patch
@@ -0,0 +1,45 @@
+From f6b62008495253f0c68ea1a03eb6815e3bd60e97 Mon Sep 17 00:00:00 2001
+From: BrLi <brli@chakralinux.org>
+Date: Mon, 7 Dec 2020 15:58:13 +0800
+Subject: [PATCH] fix package.json
+
+---
+ package.json | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/package.json b/package.json
+index 9c2d20c..4ad8321 100644
+--- a/package.json
++++ b/package.json
+@@ -1,9 +1,6 @@
+ {
+ "name": "Pencil",
+ "devDependencies": {
+- "electron": "10.1.5",
+- "electron-builder": "20.28.4",
+- "electron-rebuild": "^1.8.5",
+ "rimraf": "^2.5.4"
+ },
+ "build": {
+@@ -55,9 +52,6 @@
+ "perMachine": true,
+ "allowToChangeInstallationDirectory": true
+ },
+- "electronDownload": {
+- "cache": ".electron-cache"
+- },
+ "fileAssociations": {
+ "ext": [
+ "ep",
+@@ -68,8 +62,6 @@
+ }
+ },
+ "scripts": {
+- "postinstall": "install-app-deps",
+- "install-app-deps": "node ./node_modules/electron-builder/out/install-app-deps.js",
+ "start": "./node_modules/.bin/electron ./app",
+ "start:dev": "./node_modules/.bin/electron ./app --enable-dev --enable-transparent-visuals",
+ "start:mac": "./node_modules/.bin/electron ./app --enable-dev",
+--
+2.29.2
+