diff --git a/README.md b/README.md index d16111f..d2a6af2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ #### Free and Open Source AI Image Upscaler -![884shots_so](https://user-images.githubusercontent.com/25067102/224690031-7b52b455-2d42-43f6-966a-3389cb61ae23.png) +![216shots_so](https://github.com/upscayl/upscayl/assets/25067102/ca4c118b-2b9a-4652-adc3-871e1cd19ecc) **Upscayl is a cross-platform application built with the Linux-first philosophy. This means that we prioritize Linux builds over others but that doesn't mean we'll break things for other OSes :)** @@ -86,7 +86,9 @@ 3. Double click exe file, wait for installation, profit. -# Comparisons: https://imgsli.com/MTQzMjI4/0/1 +# [Wiki - Tutorials and Guides](https://github.com/upscayl/upscayl/wiki/Guide) + +# [Comparisons](https://imgsli.com/MTQzMjI4/0/1) #### Medium Resolution Images (300-400 pixels wide): @@ -108,14 +110,12 @@ You can track all the progress here: https://github.com/orgs/upscayl/projects/1 -- Allow custom models -- Logging - Fix bugs - Make the whole world use FOSS (WIP 🚧) # Development 🛠 -I recommend using Volta: https://volta.sh for using Node.js. +I recommend using Volta: https://volta.sh for installing Node.js. Download and install volta, then do: `volta install node`. ```bash @@ -141,11 +141,11 @@ npm run publish-app # FAQ 🤓 - How does Upscayl work? - - Upscayl uses AI models to enhance your images by guessing what the details could be. It uses Real-ESRGAN (and more in the future) model to achieve this. + - Upscayl uses AI models to enhance your images by guessing what the details could be. It uses Real-ESRGAN to achieve this. - Is there a CLI available? - The CLI tool is called real-esrgan-ncnn-vulkan and it's available on the Real-ESRGAN repository. - Do I need a GPU for this to work? - - Yes, unfortunately. NCNN Vulkan requires a Vulkan compatible GPU. Upscayl won't work with **most** iGPUs or CPUs. + - Yes, unfortunately. NCNN Vulkan requires a Vulkan compatible GPU. Upscayl won't work with **most** iGPUs or CPUs. But hey, no harm in trying ;) - Why does batch upscaling output JPGs instead of PNGs? - This is an issue with REAL-ERSGAN currently tracked [here](https://github.com/upscayl/upscayl/issues/174). - How can I contribute? diff --git a/electron/index.ts b/electron/index.ts index ad6b78a..5f09f18 100644 --- a/electron/index.ts +++ b/electron/index.ts @@ -302,8 +302,8 @@ ipcMain.handle(commands.SELECT_CUSTOM_MODEL_FOLDER, async (event, message) => { customModelsFolderPath = folderPaths[0]; if ( - !folderPaths[0].endsWith("/models") && - !folderPaths[0].endsWith("/models/") + !folderPaths[0].endsWith(slash + "models") && + !folderPaths[0].endsWith(slash + "models" + slash) ) { logit("❌ Invalid Custom Models Folder Detected: Not a 'models' folder"); const options: MessageBoxOptions = {