From 089b00d1b2ee29516889b2c307da77452544faab Mon Sep 17 00:00:00 2001 From: Julien Deniau Date: Fri, 11 Oct 2024 09:11:00 +0200 Subject: [PATCH] =?UTF-8?q?another=20issue=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca2c466..716f87d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -101,6 +101,8 @@ jobs: # run: sed -i 's/if (!(await fs.pathExists(snapcraftCfgPath)))/if (false \&\& !(await fs.pathExists(snapcraftCfgPath)))/' node_modules/@electron-forge/publisher-snapcraft/src/PublisherSnapcraft.ts run: sed -i 's/snapcraft = new Snapcraft();/snapcraft = new Snapcraft();await snapcraft.ensureInstalled();/' node_modules/@electron-forge/publisher-snapcraft/dist/PublisherSnapcraft.js + - name: fix issue with Snapcraft files + run: sed -i 's/snapcraft.run(dir, '\''push'\'', this.config, snapArtifacts)/snapcraft.run(dir, '\''push '\'' + snapArtifacts.join('\'' '\''), this.config)/' node_modules/@electron-forge/publisher-snapcraft/dist/PublisherSnapcraft.js # end snapcraft specific - name: Sign & Publish Electron app