From ae931b2dde08fc745d445f380e3eb6c764286b7b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 4 May 2018 16:09:47 -0400 Subject: [PATCH] init sub on postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 52724dff..e494b6ab 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "sub:update": "git submodule update --remote", "sub:pull": "git submodule foreach git pull origin master", "sub:commit": "npm run sub:pull && git commit -am \"update submodule\"", - "postinstall": "./node_modules/.bin/electron-rebuild", + "postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init", "lint": "tslint src/**/*.ts || true", "lint:fix": "tslint src/**/*.ts --fix", "build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",