54 lines
3.1 KiB
Diff
54 lines
3.1 KiB
Diff
diff --git a/node_modules/app-builder-lib/out/asar/asar.d.ts b/node_modules/app-builder-lib/out/asar/asar.d.ts
|
|
index be27052..97db603 100644
|
|
--- a/node_modules/app-builder-lib/out/asar/asar.d.ts
|
|
+++ b/node_modules/app-builder-lib/out/asar/asar.d.ts
|
|
@@ -1,3 +1,3 @@
|
|
-export declare function readAsarHeader(archive: string): Promise<ReadAsarHeader>;
|
|
-export declare function readAsar(archive: string): Promise<AsarFilesystem>;
|
|
+export declare function readAsarHeader(archive: string): Promise<unknown>;
|
|
+export declare function readAsar(archive: string): Promise<unknown>;
|
|
export declare function readAsarJson(archive: string, file: string): Promise<any>;
|
|
diff --git a/node_modules/app-builder-lib/out/asar/integrity.d.ts b/node_modules/app-builder-lib/out/asar/integrity.d.ts
|
|
index 01da9f4..094c175 100644
|
|
--- a/node_modules/app-builder-lib/out/asar/integrity.d.ts
|
|
+++ b/node_modules/app-builder-lib/out/asar/integrity.d.ts
|
|
@@ -1,5 +1,4 @@
|
|
/// <reference types="node" />
|
|
-import { NodeIntegrity } from "./asar";
|
|
export interface AsarIntegrityOptions {
|
|
readonly resourcesPath: string;
|
|
readonly resourcesRelativePath: string;
|
|
@@ -12,5 +11,5 @@ export interface AsarIntegrity {
|
|
[key: string]: HeaderHash;
|
|
}
|
|
export declare function computeData({ resourcesPath, resourcesRelativePath }: AsarIntegrityOptions): Promise<AsarIntegrity>;
|
|
-export declare function hashFile(file: string, blockSize?: number): Promise<NodeIntegrity>;
|
|
-export declare function hashFileContents(contents: Buffer | string, blockSize?: number): NodeIntegrity;
|
|
+export declare function hashFile(file: string, blockSize?: number): Promise<unknown>;
|
|
+export declare function hashFileContents(contents: Buffer | string, blockSize?: number): unknown;
|
|
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
|
index ffcc8bd..4215569 100644
|
|
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
|
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
|
@@ -88,7 +88,7 @@ class LinuxTargetHelper {
|
|
// https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
|
|
const execCodes = ["%f", "%u", "%F", "%U"];
|
|
if (executableArgs == null || executableArgs.findIndex(arg => execCodes.includes(arg)) === -1) {
|
|
- exec += " %U";
|
|
+ exec += " --no-sandbox %U";
|
|
}
|
|
}
|
|
const desktopMeta = {
|
|
diff --git a/node_modules/app-builder-lib/templates/linux/after-install.tpl b/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
|
index 1536059..555f8f5 100644
|
|
--- a/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
|
+++ b/node_modules/app-builder-lib/templates/linux/after-install.tpl
|
|
@@ -3,8 +3,5 @@
|
|
# Link to the binary
|
|
ln -sf '/opt/${sanitizedProductName}/${executable}' '/usr/bin/${executable}'
|
|
|
|
-# SUID chrome-sandbox for Electron 5+
|
|
-chmod 4755 '/opt/${sanitizedProductName}/chrome-sandbox' || true
|
|
-
|
|
update-mime-database /usr/share/mime || true
|
|
update-desktop-database /usr/share/applications || true
|