This commit is contained in:
parent
7060b99dd9
commit
4b2bf8f5f4
|
|
@ -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
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
' setInterval(function() {',
|
||||
' var code = prompt("bridge:_poll", "");',
|
||||
' if (code) { try { eval(code); } catch(e) {} }',
|
||||
' }, 1500);',
|
||||
' }, 2000);',
|
||||
'})();'
|
||||
].join('\n');
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue