Merge pull request #406 from padloc/fix/linux-electron-icon

Failed to Fix Linux Electron icon -- Improve Electron build performance
This commit is contained in:
Bruno Bernardino 2022-02-25 09:37:35 +00:00 committed by GitHub
commit 22e82a9a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11512 additions and 11171 deletions

View File

@ -40,6 +40,14 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- uses: actions/cache@v2
with:
path: |
~/.npm
~/.nvm
node_modules
packages/electron/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
npm i -g npm@8.2.0
@ -70,6 +78,14 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- uses: actions/cache@v2
with:
path: |
~/.npm
~/.nvm
node_modules
packages/electron/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
npm i -g npm@8.2.0
@ -95,6 +111,14 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- uses: actions/cache@v2
with:
path: |
~/.npm
~/.nvm
node_modules
packages/electron/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
npm i -g npm@8.2.0
@ -121,6 +145,14 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version-file: ".nvmrc"
- uses: actions/cache@v2
with:
path: |
~/.npm
~/.nvm
node_modules
packages/electron/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
npm i -g npm@8.2.0

2
package-lock.json generated
View File

@ -15464,7 +15464,7 @@
"maildev": {
"version": "git+ssh://git@github.com/padloc/maildev.git#a3ac6bf682dfb7cbb08b8b86e7b8afc9e5e41c66",
"dev": true,
"from": "maildev@git+ssh://git@github.com:padloc/maildev.git",
"from": "maildev@github:padloc/maildev",
"requires": {
"async": "^3.2.3",
"commander": "^9.0.0",

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@
"clean-webpack-plugin": "3.0.0",
"css-loader": "5.2.6",
"electron": "14.1.1",
"electron-builder": "22.13.1",
"electron-builder": "22.14.13",
"electron-notarize": "1.1.1",
"file-loader": "6.2.0",
"html-webpack-plugin": "5.3.2",

View File

@ -42,11 +42,15 @@ async function main() {
gatekeeperAssess: false,
entitlements: "entitlements.plist",
entitlementsInherit: "entitlements.plist",
category: "Utility",
},
protocols: {
name,
schemes: [scheme],
},
linux: {
category: "Utility",
},
afterSign: "scripts/notarize.js",
};