Skip to content

Commit

Permalink
I think I need this shim again
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Sep 19, 2024
1 parent 9b37643 commit 5507703
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/build/windows/app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ runs:
corepack: true
- run: yarn install --immutable
shell: cmd
- name: Mod
shell: powershell
run: |
(Get-Content node_modules\@electron\windows-sign\dist\cjs\sign-with-signtool.js) -replace [Regex]::Escape('await execute({ ...internalOptions, hash: "sha1'), [Regex]::Escape('//await execute({ ...internalOptions, hash: "sha1') | Out-File -encoding ASCII node_modules\@electron\windows-sign\dist\cjs\sign-with-signtool.js
(Get-Content node_modules\@electron\windows-sign\dist\esm\sign-with-signtool.js) -replace [Regex]::Escape('await execute({ ...internalOptions, hash: "sha1'), [Regex]::Escape('//await execute({ ...internalOptions, hash: "sha1') | Out-File -encoding ASCII node_modules\@electron\windows-sign\dist\esm\sign-with-signtool.js
gc node_modules\@electron\windows-sign\dist\esm\sign-with-signtool.js
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 5507703

Please sign in to comment.