From 7ce30e38a231114cdeed6a3595891dcb493fe4c3 Mon Sep 17 00:00:00 2001 From: yutyo Date: Sat, 16 May 2020 01:30:06 +0300 Subject: [PATCH 1/3] add nix electron and webkit2-launcher support --- package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package.json b/package.json index 0968e68..15e6d46 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "build": "cross-env NODE_ENV=production webpack", "start:electron": "electron .", "start:webpack": "webpack", + "nixstart": "nix run nixpkgs.electron_6 -c electron .", "watch": "webpack --watch", "start": "cross-env NODE_ENV=development npm-run-all --parallel start:*", "pack": "electron-builder --dir", @@ -14,12 +15,22 @@ "postinstall": "electron-builder install-app-deps", "test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest --passWithNoTests" }, + "productName": "Cabal", "repository": "cabal-club/cabal-desktop", "author": { "name": "Cabal Club", "email": "github-noreply@cabal.club" }, + + "launcher": { + "title": "Cabal Desktop", + "icon": "", + "main": "./index.html", + "width": 800, + "height": 600 + }, + "license": "GPL-3.0", "devDependencies": { "@babel/core": "^7.9.0", From 153baefa30ec7e401495fa977ec2f87828d6f21f Mon Sep 17 00:00:00 2001 From: yutyo Date: Sat, 16 May 2020 01:34:56 +0300 Subject: [PATCH 2/3] change command names --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 15e6d46..5b4a755 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "build": "cross-env NODE_ENV=production webpack", "start:electron": "electron .", "start:webpack": "webpack", - "nixstart": "nix run nixpkgs.electron_6 -c electron .", + "start:nix": "nix run nixpkgs.electron_6 -c electron .", + "start:webkit2": "webkit2-launcher .", "watch": "webpack --watch", "start": "cross-env NODE_ENV=development npm-run-all --parallel start:*", "pack": "electron-builder --dir", From b7f9164728e30753a8e27001089939972c1ad322 Mon Sep 17 00:00:00 2001 From: Yutyo Date: Thu, 21 May 2020 23:23:20 +0300 Subject: [PATCH 3/3] edit package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5b4a755..1493ce7 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "build": "cross-env NODE_ENV=production webpack", "start:electron": "electron .", "start:webpack": "webpack", - "start:nix": "nix run nixpkgs.electron_6 -c electron .", - "start:webkit2": "webkit2-launcher .", + "nix": "nix run nixpkgs.electron_6 -c electron .", + "webkit2": "webkit2-launcher .", "watch": "webpack --watch", "start": "cross-env NODE_ENV=development npm-run-all --parallel start:*", "pack": "electron-builder --dir",