Skip to content

Commit

Permalink
Update ffi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xan105 committed May 10, 2024
1 parent 0061593 commit 8152b3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/util/ffi.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ found in the LICENSE file in the root directory of this source tree.
*/

import { arch } from "node:process";
import { fileURLToPath } from "node:url";
import { join, dirname } from "node:path";
import { join } from "node:path";

const filePath = join(
dirname(fileURLToPath(import.meta.url)),
import.meta.dirname,
"../../dist/",
`regodit.${{ia32: "x86"}[arch] ?? arch}.dll`
).replace("app.asar", "app.asar.unpacked"); //electron asar friendly
Expand Down

0 comments on commit 8152b3a

Please sign in to comment.