add: window.onerror event

This commit is contained in:
RainyXeon
2024-07-16 12:54:10 +07:00
committed by ThePedroo
parent ceb2cf24a9
commit 1d38739100
7 changed files with 33 additions and 3 deletions

View File

@@ -171,6 +171,7 @@ androidComponents.onVariants { variant ->
set.add(Pair(root.file("webroot/js/restoreError.js").asFile, null))
set.add(Pair(root.file("webroot/js/navbar.js").asFile, null))
set.add(Pair(root.file("webroot/js/daemon_actions.js").asFile, null))
set.add(Pair(root.file("webroot/js/errorCatcher.js").asFile, null))
set.add(Pair(root.file("webroot/js/translate/action.js").asFile, null))
set.add(Pair(root.file("webroot/js/translate/home.js").asFile, null))

View File

@@ -122,6 +122,7 @@ extract "$ZIPFILE" 'webroot/js/language.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/navbar.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/restoreError.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/daemon_actions.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/errorCatcher.js' "$MODPATH/webroot/js" true
extract "$ZIPFILE" 'webroot/js/translate/home.js' "$MODPATH/webroot/js/translate" true
extract "$ZIPFILE" 'webroot/js/translate/action.js' "$MODPATH/webroot/js/translate" true