π Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.
TypeScript aielectronesrgangigapixelgigapixel-imagesimageimage-upscalingtopazupscaleupscalerimageupscayl
In process GPU
Nayam Amarshe8e8ef37e0756
diff --git a/electron/index.ts b/electron/index.tsindex 1227964..5534451 100644--- a/electron/index.ts+++ b/electron/index.ts@@ -18,6 +18,7 @@ import batchUpscayl from "./commands/batch-upscayl";import doubleUpscayl from "./commands/double-upscayl";import autoUpdate from "./commands/auto-update";import sharp from "sharp";+import { getPlatform } from "./utils/get-device-specs";// INITIALIZATIONlog.initialize({ preload: true });@@ -50,7 +51,9 @@ app.on("window-all-closed", () => {});// ! ENABLE THIS FOR MACOS APP STORE BUILD-app.commandLine.appendSwitch("in-process-gpu");+if (getPlatform() === "mac") {+ app.commandLine.appendSwitch("in-process-gpu");+}ipcMain.on(COMMAND.STOP, stop);