+1
-1
packages/core-extensions/src/nativeFixes/host.ts
+1
-1
packages/core-extensions/src/nativeFixes/host.ts
···
113
if (filePath === "resources/app.asar") {
114
// You tried
115
targetFilePath = path.join(targetDir, "resources", "_app.asar");
116
-
} else if (filePath === appName) {
117
// Can't write over the executable? Just move it! 4head
118
if (await exists(targetFilePath)) {
119
await fs.rename(targetFilePath, targetFilePath + ".bak");
···
113
if (filePath === "resources/app.asar") {
114
// You tried
115
targetFilePath = path.join(targetDir, "resources", "_app.asar");
116
+
} else if (filePath === appName || filePath === "chrome_crashpad_handler") {
117
// Can't write over the executable? Just move it! 4head
118
if (await exists(targetFilePath)) {
119
await fs.rename(targetFilePath, targetFilePath + ".bak");