Skip to content

Commit

Permalink
Fix deb release
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Apr 25, 2024
1 parent 6a59fed commit 05fe842
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ const config: ForgeConfig = {
}),
],
hooks: {
postPackage: async (config, packageResult) => {
if (process.platform === "linux") {
fs.rename(
path.join(packageResult.outputPaths[0], "TrackAudio"),
path.join(packageResult.outputPaths[0], "trackaudio"),
function (err) {
if (err) throw err;
}
);
}
},
packageAfterExtract: async (forgeConfig, buildPath) => {
try {
if (process.platform === "darwin") {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05fe842

Please sign in to comment.