FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(electron): don't use the m1 dgraph build for now · unigraph-dev/unigraph-dev@b79e90b · GitHub

Commit b79e90b

Browse files
committed
fix(electron): don't use the m1 dgraph build for now
1 parent 04280ff commit b79e90b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • packages/unigraph-dev-electron/src

‎packages/unigraph-dev-electron/src/main.js‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ async function startServer(logHandler) {
9494
return oldConsoleLog(...data);
9595
};
9696
alpha = spawn(
97-
fixPathForAsarUnpack(
98-
path.join(__dirname, '..', 'dgraph', `dgraph${process.arch === 'arm64' ? '_arm64' : ''}`),
99-
),
97+
fixPathForAsarUnpack(path.join(__dirname, '..', 'dgraph', `dgraph${process.arch === 'arm64' ? '' : ''}`)),
10098
[
10199
'alpha',
102100
'--wal',
@@ -108,9 +106,7 @@ async function startServer(logHandler) {
108106
],
109107
);
110108
zero = spawn(
111-
fixPathForAsarUnpack(
112-
path.join(__dirname, '..', 'dgraph', `dgraph${process.arch === 'arm64' ? '_arm64' : ''}`),
113-
),
109+
fixPathForAsarUnpack(path.join(__dirname, '..', 'dgraph', `dgraph${process.arch === 'arm64' ? '' : ''}`)),
114110
['zero', '--wal', path.join(userData, 'zw')],
115111
);
116112

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL