From 0bb943d4538bfa361f8a3fd1e24f8c1acd780d21 Mon Sep 17 00:00:00 2001 From: Bruce Liu Date: Mon, 22 Jun 2020 13:48:36 +0800 Subject: [PATCH] add linux packaging --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 774240e..18ca4ab 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "electron": "electron ./dist/electron.js", "start": "npm run build && npm run electron", "package-win": "electron-builder -w --x64 && electron-builder -w --ia32 && electron-builder -w appx:arm64", - "package-mac": "sudo electron-builder --mac" + "package-mac": "sudo electron-builder --mac", + "package-linux": "electron-builder --linux" }, "keywords": [], "author": "Haoyuan Liu", @@ -49,6 +50,11 @@ "target": [ "dmg" ] + }, + "linux": { + "target": [ + "AppImage" + ] } }, "devDependencies": {