File 7za-path.patch of Package element-desktop

7-zip is not actually used during build

--- vendor/node_modules/builder-util/out/7za.js.orig	2024-11-12 14:03:34.173010978 +0100
+++ vendor/node_modules/builder-util/out/7za.js	2024-11-12 14:05:06.720292070 +0100
@@ -6,13 +6,15 @@
 const fs_extra_1 = require("fs-extra");
 const fs = require("fs");
 async function getPath7za() {
+    return '/bin/false';
     if (fs.existsSync(_7zip_bin_1.path7za)) {
         await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755);
     }
     return _7zip_bin_1.path7za;
 }
 async function getPath7x() {
+    return '/bin/false';
     await (0, fs_extra_1.chmod)(_7zip_bin_1.path7x, 0o755);
     return _7zip_bin_1.path7x;
 }
-//# sourceMappingURL=7za.js.map
\ Kein Zeilenumbruch am Dateiende.
+//# sourceMappingURL=7za.js.map
openSUSE Build Service is sponsored by