forked from Lainports/freebsd-ports
11 lines
599 B
TypeScript
11 lines
599 B
TypeScript
--- ts/scripts/fuse-electron.ts.orig 2023-10-19 19:29:53 UTC
|
|
+++ ts/scripts/fuse-electron.ts
|
|
@@ -17,7 +17,7 @@ export async function afterPack({
|
|
target = `${productFilename}.app`;
|
|
} else if (electronPlatformName === 'win32') {
|
|
target = `${productFilename}.exe`;
|
|
- } else if (electronPlatformName === 'linux') {
|
|
+ } else if (electronPlatformName === 'linux' || electronPlatformName === 'freebsd') {
|
|
// Sadly, `LinuxPackager` type is not exported by electron-builder so we
|
|
// have to improvise
|
|
target = (packager as unknown as { executableName: string }).executableName;
|