diff --git a/release/antos-1.2.1.tar.gz b/release/antos-1.2.1.tar.gz index 601c9ff..5eb68f3 100644 Binary files a/release/antos-1.2.1.tar.gz and b/release/antos-1.2.1.tar.gz differ diff --git a/src/core/gui.ts b/src/core/gui.ts index 80fff81..29f43ee 100644 --- a/src/core/gui.ts +++ b/src/core/gui.ts @@ -440,17 +440,19 @@ namespace OS { } } //load css file - const css = `${path}/main.css`; - const d_1 = await css.asFileHandle().onready(); - const stamp = new Date().timestamp(); - const el = $("", { - rel: "stylesheet", - type: "text/css", - href: `${API.handle.get}/${css}?stamp=${stamp}`, - }).appendTo("head"); - if (application[app]) { - application[app].style = el[0]; - } + try{ + const css = `${path}/main.css`; + const d_1 = await css.asFileHandle().onready(); + const stamp = new Date().timestamp(); + const el = $("", { + rel: "stylesheet", + type: "text/css", + href: `${API.handle.get}/${css}?stamp=${stamp}`, + }).appendTo("head"); + if (application[app]) { + application[app].style = el[0]; + } + } catch(e_1){} return resolve(app); } catch (e) { return reject(__e(e));