From 9655edfeae855aebe58c95b1cdce043248bda905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Mart=C3=ADnez=20Rinc=C3=B3n?= Date: Wed, 5 Jun 2024 16:48:15 +0200 Subject: [PATCH] fix: install electron-installer-debian as optional --- .github/workflows/prepare-release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index ca021b2..b931f27 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -64,7 +64,7 @@ jobs: cp -r asar-extracted/. clean-source rm -rf clean-source/node_modules - mkdir -p clean-source/extraResources + mkdir -p clean-source/extraResources cp app-extracted/resources/trayIcon.ico clean-source/extraResources - name: Fix and clean package.json @@ -115,7 +115,9 @@ jobs: @electron-forge/plugin-webpack@${ELECTRON_FORGE_VERSION} \ @electron-forge/publisher-github@${ELECTRON_FORGE_VERSION} \ @electron-forge/shared-types@${ELECTRON_FORGE_VERSION} \ - @electron-forge/maker-squirrel@${ELECTRON_FORGE_VERSION} \ + @electron-forge/maker-squirrel@${ELECTRON_FORGE_VERSION} + + npm install --package-lock-only --no-package-lock --save-optional \ electron-installer-debian@3.2.0 - name: Install enhancer package @@ -126,10 +128,10 @@ jobs: npm install --package-lock-only --no-package-lock --save \ git://github.com/notion-enhancer/notion-enhancer.git#${NOTION_ENHANCER_COMMIT} - # - name: Update lockfile - # working-directory: work/clean-source - # shell: bash - # run: npm install --package-lock-only + - name: Update lockfile + working-directory: work/clean-source + shell: bash + run: npm install --package-lock-only - name: Zip source directory working-directory: work