Work towards fixing build
This commit is contained in:
parent
849b61c5cf
commit
621f81355b
3 changed files with 7 additions and 10 deletions
|
@ -40,3 +40,9 @@ terminal:
|
|||
```bash
|
||||
yarn watch
|
||||
```
|
||||
|
||||
To build a binary for your platform, run
|
||||
|
||||
```sh
|
||||
yarn build
|
||||
```
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"author": "Ente <code@ente.io>",
|
||||
"main": "app/main.js",
|
||||
"scripts": {
|
||||
"build": "yarn build-renderer && yarn build-main",
|
||||
"build": "yarn build-renderer && yarn build-main && electron-builder",
|
||||
"build-main": "tsc",
|
||||
"build-renderer": "cd ../web && yarn install && yarn build:photos",
|
||||
"dev": "concurrently \"yarn dev-main\" \"yarn dev-renderer\"",
|
||||
|
@ -15,7 +15,6 @@
|
|||
"postinstall": "electron-builder install-app-deps",
|
||||
"lint": "yarn prettier --check . && eslint \"src/**/*.ts\"",
|
||||
"lint-fix": "yarn prettier --write . && eslint --fix .",
|
||||
"test-release": "cross-env IS_TEST_RELEASE=true yarn build && electron-builder --config.compression=store",
|
||||
"watch": "tsc -w"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -49,7 +48,6 @@
|
|||
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
||||
"@typescript-eslint/parser": "^5.28.0",
|
||||
"concurrently": "^7.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"electron": "^25.8.4",
|
||||
"electron-builder": "^24.6.4",
|
||||
"electron-builder-notarize": "^1.2.0",
|
||||
|
|
|
@ -1117,13 +1117,6 @@ crc@^3.8.0:
|
|||
dependencies:
|
||||
buffer "^5.1.0"
|
||||
|
||||
cross-env@^7.0.3:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
|
||||
integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==
|
||||
dependencies:
|
||||
cross-spawn "^7.0.1"
|
||||
|
||||
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||
|
|
Loading…
Add table
Reference in a new issue