File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3030 with :
3131 name : ${{ matrix.os }}
3232 path : installer/dist/
33+ - uses : actions/upload-artifact/merge@v4
34+ with :
35+ name : artifacts
36+ delete-merged : true
3337
Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ def _install(path):
7474 config_file = open (path + "/BepInEx/config/BepInEx.cfg" , "a+" )
7575 config = configparser .ConfigParser ()
7676 config .read_file (config_file )
77+ logs = not bool (disable_logs_button .get ())
7778 if "Logging.Console" in config :
78- config ["Logging.Console" ]["Enabled" ] = not bool (
79- disable_logs_button .get ())
79+ config ["Logging.Console" ]["Enabled" ] = logs
8080 else :
8181 config ["Logging.Console" ] = {
82- "Enabled" : not bool ( disable_logs_button . get ()) }
82+ "Enabled" : logs }
8383 config .write (config_file )
8484 progress_bar .step ()
8585
Original file line number Diff line number Diff line change 11using System . Reflection ;
22using BepInEx ;
3+ using BepInEx . Configuration ;
34using BepInEx . Logging ;
45using Il2CppInterop . Runtime ;
56using Il2CppInterop . Runtime . Injection ;
7+ using LibCpp2IL ;
68using Newtonsoft . Json . Linq ;
79
810namespace PolyMod
@@ -26,6 +28,7 @@ public override void Load()
2628 ModLoader . Init ( ) ;
2729 Visual . Init ( ) ;
2830 SpritesLoader . Init ( ) ;
31+ ConfigFile . CoreConfig [ new ( "Logging.Disk" , "WriteUnityLog" ) ] . BoxedValue = true ;
2932 //PolyBreaker.Init();
3033 }
3134
You can’t perform that action at this time.
0 commit comments