regen release

This commit is contained in:
Dany LE 2021-11-26 18:17:44 +01:00
parent f912e57e3b
commit 15f8de8910
2 changed files with 13 additions and 11 deletions

Binary file not shown.

View File

@ -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 = $("<link>", {
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 = $("<link>", {
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));