summaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts')
-rw-r--r--net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts b/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts
new file mode 100644
index 000000000000..c5628e9f2e78
--- /dev/null
+++ b/net-im/signal-desktop/files/patch-ts_scripts_fuse-electron.ts
@@ -0,0 +1,11 @@
+--- 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;