mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 15:36:28 +00:00
try to fix mac build, arm build for linux
This commit is contained in:
13
app/patches/dmg-builder+22.10.5.patch
Normal file
13
app/patches/dmg-builder+22.10.5.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/dmg-builder/out/dmg.js b/node_modules/dmg-builder/out/dmg.js
|
||||
index 2120f49..9f3f9b7 100644
|
||||
--- a/node_modules/dmg-builder/out/dmg.js
|
||||
+++ b/node_modules/dmg-builder/out/dmg.js
|
||||
@@ -301,7 +301,7 @@ async function createStageDmg(tempDmg, appPath, volumeName) {
|
||||
imageArgs.push("-debug");
|
||||
}
|
||||
|
||||
- imageArgs.push("-fs", "HFS+", "-fsargs", "-c c=64,a=16,e=16");
|
||||
+ // imageArgs.push("-fs", "HFS+", "-fsargs", "-c c=64,a=16,e=16");
|
||||
imageArgs.push(tempDmg); // The reason for retrying up to ten times is that hdiutil create in some cases fail to unmount due to "resource busy".
|
||||
// https://github.com/electron-userland/electron-builder/issues/5431
|
||||
|
||||
Reference in New Issue
Block a user