mirror of
https://github.com/upscayl/upscayl.git
synced 2026-04-25 03:00:05 -04:00
Update app store build and binaries
This commit is contained in:
@@ -40,7 +40,7 @@ app.on("ready", async () => {
|
||||
autoUpdater.checkForUpdates();
|
||||
}
|
||||
|
||||
log.info("🚀 UPSCAYL EXEC PATH: ", execPath("realesrgan"));
|
||||
log.info("🚀 UPSCAYL EXEC PATH: ", execPath("bin"));
|
||||
log.info("🚀 MODELS PATH: ", modelsPath);
|
||||
});
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@ const binariesPath = isDev
|
||||
? join(appRootDir, "resources", getPlatform()!, "bin")
|
||||
: join(dirname(appRootDir), "bin");
|
||||
|
||||
const execPath = (execName) =>
|
||||
resolve(join(binariesPath, `./upscayl-${execName}`));
|
||||
const execPath = (execName) => resolve(join(binariesPath, `./upscayl-bin`));
|
||||
|
||||
const modelsPath = isDev
|
||||
? resolve(join(appRootDir, "resources", "models"))
|
||||
|
||||
@@ -8,7 +8,7 @@ export const spawnUpscayl = (
|
||||
) => {
|
||||
logit("📢 Upscayl Command: ", command);
|
||||
|
||||
const spawnedProcess = spawn(execPath(binaryName), command, {
|
||||
const spawnedProcess = spawn(execPath("bin"), command, {
|
||||
cwd: undefined,
|
||||
detached: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user