Skip to content

Commit

Permalink
fix: installer id
Browse files Browse the repository at this point in the history
  • Loading branch information
lsagetlethias committed Oct 21, 2022
1 parent 51e1ccd commit e983080
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/replaceForChannel.js
Expand Up @@ -43,6 +43,16 @@ replace({
silent: true,
});

const appIdReplacement = `"appId": "fr.gouv.social.fabrique.archifiltre.$1-${channel}"`;
console.log("[ReplaceForChannel] Replacing app id with", appIdReplacement);
replace({
paths: [packageJsonPath],
recursive: false,
regex: /"appId": "fr\.gouv\.social\.fabrique\.archifiltre\.(.+)"/g,
replacement: appIdReplacement,
silent: true,
});

const iconIcnsReplacement = `"icon": "./electron/build/icon_${channel}.icns"`;
console.log(
"[ReplaceForChannel] Replacing ICNS icon with",
Expand Down

0 comments on commit e983080

Please sign in to comment.