This commit is contained in:
fengge 2026-06-01 23:24:28 +08:00
parent 7060b99dd9
commit 4b2bf8f5f4
3 changed files with 18 additions and 2 deletions

16
.codegraph/.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
# CodeGraph data files
# These are local to each machine and should not be committed
# Database
*.db
*.db-wal
*.db-shm
# Cache
cache/
# Logs
*.log
# Hook markers
.dirty

View File

@ -20,7 +20,7 @@
' setInterval(function() {',
' var code = prompt("bridge:_poll", "");',
' if (code) { try { eval(code); } catch(e) {} }',
' }, 1500);',
' }, 2000);',
'})();'
].join('\n');

View File

@ -221,7 +221,7 @@ class MainActivity : AppCompatActivity() {
private fun createGeckoRuntime(): GeckoRuntime {
val runtime = GeckoRuntime.getDefault(this)
runtime.settings.aboutConfigEnabled = true
runtime.settings.consoleOutputEnabled = com.stand.standapp.BuildConfig.DEBUG
runtime.settings.consoleOutputEnabled = true
// 强制清缓存,确保 JS/CSS 等资源获取最新版本
try {
// runtime.storageController.clearData(ClearFlags.ALL)