1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 04:13:32 +08:00

UXAssist v1.3.5

This commit is contained in:
2025-05-10 20:09:30 +08:00
parent 7bd8abe7e6
commit 75030c5b23
10 changed files with 10 additions and 15 deletions

View File

@@ -3,6 +3,8 @@
## Changlog ## Changlog
* 1.3.5
+ `Mod manager profile based save folder`: Fix crash on game startup
* 1.3.4 * 1.3.4
+ `Auto-config logistic stations`: Fix a bug that some settings are not applied to Advanced Mining Machines and Logistics Distributors + `Auto-config logistic stations`: Fix a bug that some settings are not applied to Advanced Mining Machines and Logistics Distributors
* 1.3.3 * 1.3.3
@@ -311,6 +313,8 @@
## 更新日志 ## 更新日志
* 1.3.5
+ `基于mod管理器配置档案的存档文件夹`:修复游戏启动时崩溃的问题
* 1.3.4 * 1.3.4
+ `自动配置物流站`:修复了高级采矿机和物流配送器的一些设置未被正确应用的问题 + `自动配置物流站`:修复了高级采矿机和物流配送器的一些设置未被正确应用的问题
* 1.3.3 * 1.3.3

View File

@@ -1,5 +1,4 @@
using System; using System;
using System.Collections.Generic;
using HarmonyLib; using HarmonyLib;
namespace UXAssist.Common; namespace UXAssist.Common;

View File

@@ -1,6 +1,4 @@
using System.Linq; namespace UXAssist.Functions;
namespace UXAssist.Functions;
public static class DysonSphereFunctions public static class DysonSphereFunctions
{ {

View File

@@ -1,9 +1,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using BepInEx.Configuration; using BepInEx.Configuration;
using UnityEngine;
using UXAssist.Common; using UXAssist.Common;
using UXAssist.Patches;
namespace UXAssist.Functions; namespace UXAssist.Functions;

View File

@@ -112,7 +112,6 @@ public class GamePatch : PatchImpl<GamePatch>
public static void Start() public static void Start()
{ {
RefreshSavePath();
if (LoadLastWindowRectEnabled.Value) if (LoadLastWindowRectEnabled.Value)
{ {
FixLastWindowRect(); FixLastWindowRect();
@@ -128,6 +127,8 @@ public class GamePatch : PatchImpl<GamePatch>
// AutoSaveOpt.Enable(AutoSaveOptEnabled.Value); // AutoSaveOpt.Enable(AutoSaveOptEnabled.Value);
ConvertSavesFromPeace.Enable(ConvertSavesFromPeaceEnabled.Value); ConvertSavesFromPeace.Enable(ConvertSavesFromPeaceEnabled.Value);
Enable(true); Enable(true);
RefreshSavePath();
} }
public static void Uninit() public static void Uninit()
@@ -533,7 +534,6 @@ public class GamePatch : PatchImpl<GamePatch>
[HarmonyPatch(typeof(GameOption), nameof(GameOption.LoadGlobal))] [HarmonyPatch(typeof(GameOption), nameof(GameOption.LoadGlobal))]
private static bool GameOption_LoadGlobal_Prefix(ref GameOption __instance) private static bool GameOption_LoadGlobal_Prefix(ref GameOption __instance)
{ {
UXAssist.Logger.LogDebug("Loading global option");
var profileName = WindowFunctions.ProfileName; var profileName = WindowFunctions.ProfileName;
if (profileName == null) if (profileName == null)
{ {

View File

@@ -1,10 +1,8 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection.Emit; using System.Reflection.Emit;
using BepInEx.Configuration; using BepInEx.Configuration;
using HarmonyLib; using HarmonyLib;
using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using UXAssist.Common; using UXAssist.Common;

View File

@@ -1,5 +1,4 @@
using System; using System;
using BepInEx.Configuration;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;

View File

@@ -1,7 +1,6 @@
using System; using System;
using System.Text; using System.Text;
using UnityEngine; using UnityEngine;
using UnityEngine.UI;
using UXAssist.Common; using UXAssist.Common;
using UXAssist.Functions; using UXAssist.Functions;
using UXAssist.ModsCompat; using UXAssist.ModsCompat;

View File

@@ -4,7 +4,7 @@
<TargetFramework>net472</TargetFramework> <TargetFramework>net472</TargetFramework>
<BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid> <BepInExPluginGuid>org.soardev.uxassist</BepInExPluginGuid>
<Description>DSP MOD - UXAssist</Description> <Description>DSP MOD - UXAssist</Description>
<Version>1.3.4</Version> <Version>1.3.5</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<PackageId>UXAssist</PackageId> <PackageId>UXAssist</PackageId>

View File

@@ -1,6 +1,6 @@
{ {
"name": "UXAssist", "name": "UXAssist",
"version_number": "1.3.4", "version_number": "1.3.5",
"website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UXAssist",
"description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁", "description": "Some functions and patches for better user experience / 一些提升用户体验的功能和补丁",
"dependencies": [ "dependencies": [