Add build scripts

This commit is contained in:
OleSTEEP 2023-12-30 00:10:43 +03:00
parent 54f94955e7
commit ee3ae96146
6 changed files with 125 additions and 2 deletions

View file

@ -235,6 +235,14 @@ ConfigManager.restoreDefaultConfig = function () {
if (!!needsRestore) { DataManager._restoreGlobalInfo(); }
}
// ===================
// Android Wake Lock
// ===================
document.addEventListener("deviceready", () => {
window.plugins.insomnia.keepAwake();
})
// =============================
// Saves in external storage
// =============================