Skip to content

Commit

Permalink
fix: prio order for backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Jul 1, 2024
1 parent 3a7fc87 commit 0a4fd94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/upload-version-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function uploadVersionJSON({
function signaturePriority(signaturePath: string) {
const priorities = updaterJsonPreferNsis
? ['.nsis.zip.sig', '.exe.sig', '.msi.zip.sig', '.msi.sig']
: ['.msi.sig', '.msi.zip.sig', '.nsis.zip.sig', '.exe.sig'];
: ['.msi.zip.sig', '.msi.sig', '.nsis.zip.sig', '.exe.sig'];
for (const [index, extension] of priorities.entries()) {
if (signaturePath.endsWith(extension)) {
return 100 - index;
Expand Down

0 comments on commit 0a4fd94

Please sign in to comment.