diff --git a/forge.config.ts b/forge.config.ts index 465427f..b9ea97e 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -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") { diff --git a/package-lock.json b/package-lock.json index 8022755..ebc77f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13905,7 +13905,7 @@ "node_modules/trackaudio-afv": { "version": "1.0.0", "resolved": "file:backend/trackaudio-afv-1.0.0.tgz", - "integrity": "sha512-Wq3g1Jq/uWEI/WRhgQUm/jE89SaaASTk6+9Pc4TQKEG7crBQSEyuP6L4WY69B1rUMOBp1vqJHq5ukM8dUq6IZg==", + "integrity": "sha512-NbVRJ1NWy/HVZ8NVqnITrR/pV7aY69Mke/iG5ugiC3uaQKiaPyfKNnTA0ADnEbSdrrHIm4fpO5iiM4niduRU9A==", "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^1.1.0"