kopia lustrzana https://github.com/OpenBuilds/OpenBuilds-CONTROL
test cross-os
rodzic
dac16de184
commit
b9d59f2bc7
|
@ -27,6 +27,9 @@ jobs:
|
|||
- name: Set electron-builder debug env variable
|
||||
run: set DEBUG=electron-builder
|
||||
|
||||
- name: Install Electron / Electron Builder per-OS
|
||||
run: yarn run prep
|
||||
|
||||
- name: Prepare for app notarization
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
# Import Apple API key for app notarization on macOS
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"avrgirl-arduino": "^5.0.1",
|
||||
"cross-os": "^1.5.0",
|
||||
"debug": "^4.3.4",
|
||||
"detect-rpi": "^1.4.0",
|
||||
"electron-builder-notarize": "^1.5.1",
|
||||
|
@ -39,10 +40,9 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 0",
|
||||
"release": "echo \"When you want to create a new release, follow these steps:\" && echo \"1) Update the version in your project's package.json file (e.g. 1.0.3xx)\" && echo \"2) Commit that change (git commit -am v1.0.3xx)\" && echo \"3) Push your changes to GitHub (git push)\"",
|
||||
"run-local": "electron .",
|
||||
"postinstall": "cross-os install-electron-cross; electron-builder install-app-deps"
|
||||
},
|
||||
"cross-os": {
|
||||
"install-electron-cross": {
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"prep": "cross-os prep-it",
|
||||
"prep-it": {
|
||||
"darwin": "yarn add electron@^19.0.17; yarn add electron-builder@23.3.3",
|
||||
"win32": "yarn add electron@^19.0.17; yarn add electron-builder@23.3.3",
|
||||
"linux": "yarn add electron@23.1.1; yarn add electron-builder@v24.0.0-alpha.13"
|
||||
|
|
Ładowanie…
Reference in New Issue