Search for the webapp resources on startup

and error if we can't find them.
This commit is contained in:
David Baker
2019-12-10 17:40:17 +00:00
parent 8322676df7
commit 8d3529787a
2 changed files with 100 additions and 42 deletions

View File

@@ -15,7 +15,7 @@
"mkdirs": "mkdirp packages deploys",
"fetch": "yarn run mkdirs && node scripts/fetch-package.js",
"check": "node scripts/check-webapp.js",
"start": "yarn run check && yarn install:electron && electron .",
"start": "electron .",
"lint": "eslint src/",
"build": "yarn run check && electron-builder",
"clean": "rimraf webapp.asar dist packages deploys"