From 2f18413fbf2da31e7fb271885fc582fed9c35aeb Mon Sep 17 00:00:00 2001 From: ellatrix Date: Thu, 18 Jul 2024 20:54:11 +0000 Subject: [PATCH] deploy: 29c13650cbf31cc87d8a9b18bc95d6e4abafac76 --- assets/{index-GL9krXpV.js => index-B_gmpSfJ.js} | 16 ++++++++++------ assets/{web-DSFZ-96h.js => web-DhwNJ9UZ.js} | 2 +- assets/{web-DWm8f35Z.js => web-YuNlPegN.js} | 2 +- index.html | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) rename assets/{index-GL9krXpV.js => index-B_gmpSfJ.js} (99%) rename assets/{web-DSFZ-96h.js => web-DhwNJ9UZ.js} (99%) rename assets/{web-DWm8f35Z.js => web-YuNlPegN.js} (97%) diff --git a/assets/index-GL9krXpV.js b/assets/index-B_gmpSfJ.js similarity index 99% rename from assets/index-GL9krXpV.js rename to assets/index-B_gmpSfJ.js index aabdf50..55f6621 100644 --- a/assets/index-GL9krXpV.js +++ b/assets/index-B_gmpSfJ.js @@ -658,7 +658,7 @@ var Encoding; Encoding2["UTF16"] = "utf16"; })(Encoding || (Encoding = {})); const Filesystem = registerPlugin$1("Filesystem", { - web: () => __vitePreload(() => import("./web-DSFZ-96h.js"), true ? [] : void 0).then((m2) => new m2.FilesystemWeb()) + web: () => __vitePreload(() => import("./web-DhwNJ9UZ.js"), true ? [] : void 0).then((m2) => new m2.FilesystemWeb()) }); /*! Capacitor: https://capacitorjs.com/ - MIT License */ const createCapacitorPlatforms = (win) => { @@ -1181,7 +1181,7 @@ registerPlugin("CapacitorHttp", { web: () => new CapacitorHttpPluginWeb2() }); const Preferences = registerPlugin("Preferences", { - web: () => __vitePreload(() => import("./web-DWm8f35Z.js"), true ? [] : void 0).then((m2) => new m2.PreferencesWeb()) + web: () => __vitePreload(() => import("./web-YuNlPegN.js"), true ? [] : void 0).then((m2) => new m2.PreferencesWeb()) }); function promisifyRequest(request) { return new Promise((resolve2, reject) => { @@ -131103,6 +131103,9 @@ async function refresh({ }); for (const id2 of selection2) { const pathObject = pathObjects.find((item2) => item2.id === id2); + if (!pathObject) { + continue; + } const previousState = items.find( (item2) => item2.id === pathObject.id ); @@ -131142,9 +131145,6 @@ async function refresh({ setItem(id2, _update); } }); - } catch (error5) { - window.alert(error5); - setIsLoading(false); } finally { setIsLoading(false); } @@ -144172,7 +144172,11 @@ init(); registerFormatType(tagFormat.name, tagFormat); setDefaultBlockName$1("core/paragraph"); async function getSelectedFolderURL() { - const directoryHandle = await get$3("directoryHandle"); + let directoryHandle; + try { + directoryHandle = await get$3("directoryHandle"); + } catch (e2) { + } if (directoryHandle) { return directoryHandle; } diff --git a/assets/web-DSFZ-96h.js b/assets/web-DhwNJ9UZ.js similarity index 99% rename from assets/web-DSFZ-96h.js rename to assets/web-DhwNJ9UZ.js index 6bd3260..01fc081 100644 --- a/assets/web-DSFZ-96h.js +++ b/assets/web-DhwNJ9UZ.js @@ -1,4 +1,4 @@ -import { W as WebPlugin, E as Encoding } from "./index-GL9krXpV.js"; +import { W as WebPlugin, E as Encoding } from "./index-B_gmpSfJ.js"; function resolve(path) { const posix = path.split("/").filter((item) => item !== "."); const newPosix = []; diff --git a/assets/web-DWm8f35Z.js b/assets/web-YuNlPegN.js similarity index 97% rename from assets/web-DWm8f35Z.js rename to assets/web-YuNlPegN.js index db90394..0d06e1d 100644 --- a/assets/web-DWm8f35Z.js +++ b/assets/web-YuNlPegN.js @@ -1,4 +1,4 @@ -import { a as WebPlugin } from "./index-GL9krXpV.js"; +import { a as WebPlugin } from "./index-B_gmpSfJ.js"; class PreferencesWeb extends WebPlugin { constructor() { super(...arguments); diff --git a/index.html b/index.html index 220bcd4..62faff5 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ - +