From 0e8595ac781e1f4eb599351ab37ad70c2e5840f8 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 21 Jul 2023 13:19:46 +0300 Subject: [PATCH] Also invalidate folder when jumping to PWA --- www/js/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/init.js b/www/js/init.js index 701916c7e..c370c6989 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -181,7 +181,7 @@ if (!/^http/i.test(window.location.protocol) && params.localUWPSettings && var fal = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList; fal.addOrReplace(params.falFileToken, launchArgumentsUWP.files[0]); if (fal.containsItem(params.falFolderToken)) fal.remove(params.falFolderToken); - uriParams += '&lastSelectedArchive=' + encodeURIComponent(launchArgumentsUWP.files[0].name); + uriParams += '&lasSelectedArchivePath=&lastSelectedArchive=' + encodeURIComponent(launchArgumentsUWP.files[0].name); } window.location.href = params.PWAServer + 'www/index.html' + uriParams; // This will trigger the error catching above, cleanly dematerialize this script and transport us swiftly to PWA land