Nothing works. Give up, use some of the cleaning.
This commit is contained in:
parent
ccf8d09dd7
commit
ec5e5b9d78
|
@ -33,20 +33,28 @@ env:
|
|||
jobs:
|
||||
linux:
|
||||
if: ${{ !github.event.inputs.targets || github.event.inputs.targets == 'All' || github.event.inputs.targets == 'Linux' }}
|
||||
runs-on: macos-11
|
||||
runs-on: ubuntu-latest
|
||||
environment: ${{ github.event.inputs.environment || 'Local' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- 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
|
||||
npm ci
|
||||
- name: Build
|
||||
run: |
|
||||
npm run electron:build -- -- -- --linux
|
||||
npm run electron:build
|
||||
env:
|
||||
PL_PWA_URL: ${{ secrets.PL_PWA_URL }}
|
||||
- name: Archive AppImage
|
||||
|
@ -70,6 +78,13 @@ 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
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm i -g npm@8.2.0
|
||||
|
@ -95,6 +110,13 @@ 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
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm i -g npm@8.2.0
|
||||
|
@ -121,6 +143,13 @@ 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
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm i -g npm@8.2.0
|
||||
|
|
|
@ -27,8 +27,6 @@ async function main() {
|
|||
.png()
|
||||
.toFile(join(buildDir, "icon.png"));
|
||||
|
||||
fs.copyFileSync(join(assetsDir, "app-icon.icns"), join(buildDir, "icon.icns"));
|
||||
|
||||
fs.copyFileSync(resolve(__dirname, "entitlements.plist"), join(buildDir, "entitlements.plist"));
|
||||
|
||||
const buildConfig = {
|
||||
|
@ -51,7 +49,6 @@ async function main() {
|
|||
schemes: [scheme],
|
||||
},
|
||||
linux: {
|
||||
icon: "./icon.icns",
|
||||
category: "Utility",
|
||||
},
|
||||
afterSign: "scripts/notarize.js",
|
||||
|
|
Loading…
Reference in New Issue