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 //load css file
const css = `${path}/main.css`; try{
const d_1 = await css.asFileHandle().onready(); const css = `${path}/main.css`;
const stamp = new Date().timestamp(); const d_1 = await css.asFileHandle().onready();
const el = $("<link>", { const stamp = new Date().timestamp();
rel: "stylesheet", const el = $("<link>", {
type: "text/css", rel: "stylesheet",
href: `${API.handle.get}/${css}?stamp=${stamp}`, type: "text/css",
}).appendTo("head"); href: `${API.handle.get}/${css}?stamp=${stamp}`,
if (application[app]) { }).appendTo("head");
application[app].style = el[0]; if (application[app]) {
} application[app].style = el[0];
}
} catch(e_1){}
return resolve(app); return resolve(app);
} catch (e) { } catch (e) {
return reject(__e(e)); return reject(__e(e));