Add compute api to js engine.

This commit is contained in:
2025-09-02 22:15:54 +08:00
parent fa2dbd79f6
commit dfee65c3af
9 changed files with 243 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ class Log {
static void addLog(LogLevel level, String title, String content) {
if (isMuted) return;
if (_file == null) {
if (_file == null && App.isInitialized) {
Directory dir;
if (App.isAndroid) {
dir = Directory(App.externalStoragePath!);