From e185710b424570800c50f001a3548db8db3c1f94 Mon Sep 17 00:00:00 2001 From: xsean Date: Thu, 13 Nov 2025 14:30:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppRunMan/Tweak.x | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppRunMan/Tweak.x b/AppRunMan/Tweak.x index 0a966da..89dbaf3 100644 --- a/AppRunMan/Tweak.x +++ b/AppRunMan/Tweak.x @@ -12,6 +12,11 @@ #import "server/MySimpleServer.h" #import "server/FloatingWindow.h" +__attribute__((constructor)) static void SetupXSLog() { + XSLogSetupLogWithFilePath(@"/var/mobile/Documents/AppRunMain.log", 50 * 1024 * 1024); + XSLogRedirectNSLog(); +} + @interface UIWindow (FloatingWindow) @end