diff --git a/package.json b/package.json index 2b0eb6b8..284cc7a3 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,8 @@ "sub:commit": "npm run sub:pull && git commit -am \"update submodule\"", "postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init && gulp postinstall", "symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib", + "symlink:mac": "npm run symlink:lin", + "symlink:lin": "rm -rf ./jslib && ln -s ./jslib ../jslib", "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\"",