Skip to content

Commit

Permalink
another issue…
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Oct 15, 2024
1 parent 8f38b96 commit 089b00d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 089b00d

Please sign in to comment.