1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-28 01:10:52 +01:00

Remove getArch

This commit is contained in:
Nayam Amarshe 2023-09-05 23:30:33 +05:30
parent 77347feb74
commit 30557a8dc7

View File

@ -12,8 +12,7 @@ import { app } from "electron";
const appRootDir = app.getAppPath();
const binariesPath = isDev
? getPlatform() === 'mac' ? join(appRootDir, "resources", getPlatform()!, getArch()!, "bin") :
join(appRootDir, "resources", getPlatform()!, "bin")
? join(appRootDir, "resources", getPlatform()!, "bin")
: join(dirname(appRootDir), "bin");
const execPath = (execName) =>