Skip to content

Commit

Permalink
fix filepath for mac updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Jan 18, 2024
1 parent 0ab2c96 commit ea2da84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class AutoUpdater {

if (process.platform === 'darwin') {
// https://github.com/electron/electron/issues/5020#issuecomment-477636990
const json = { url: `file://${this.tempDirPath}/${this.targetPath}` };
const json = { url: `file://${this.targetPath}` };
writeFileSync(this.tempDirPath + '/feed.json', JSON.stringify(json));
feedURL = `file://${this.tempDirPath}/feed.json`;
}
Expand Down

0 comments on commit ea2da84

Please sign in to comment.