aboutsummaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts')
-rw-r--r--net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts b/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts
new file mode 100644
index 000000000000..01620da03e89
--- /dev/null
+++ b/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.node.ts
@@ -0,0 +1,11 @@
+--- ts/scripts/fuse-electron.node.ts.orig 2023-10-19 19:29:53 UTC
++++ ts/scripts/fuse-electron.node.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;