mirror of
https://github.com/upscayl/upscayl.git
synced 2025-01-19 01:24:09 +01:00
fixed output toggle functionality
This commit is contained in:
parent
6673c4f08e
commit
db49f1505a
@ -228,7 +228,8 @@ ipcMain.handle(commands.SELECT_FOLDER, async (event, message) => {
|
||||
: folderPaths[0];
|
||||
mainWindow.webContents
|
||||
.executeJavaScript('localStorage.getItem("rememberOutputFolder");', true)
|
||||
.then(() => {
|
||||
.then((result) => {
|
||||
if (result === "false") return;
|
||||
mainWindow.webContents
|
||||
.executeJavaScript(
|
||||
`localStorage.setItem("lastFolderPath", "${folderPath}");`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user