fixed gofmt

This commit is contained in:
aomizu
2025-07-10 13:40:23 +09:00
parent 9fd6ca731c
commit 3da12d20d7
5 changed files with 38 additions and 38 deletions

View File

@@ -98,12 +98,12 @@ func updateTurtleWoWStatus() {
if fileContent, err := os.ReadFile(dllsTextFile); err == nil {
contentStr := string(fileContent)
winerosettaPresent := strings.Contains(contentStr, "winerosetta.dll")
// Check if libSiliconPatch should be present based on user preference
prefs, _ := utils.LoadPrefs()
libSiliconPatchRequired := prefs.EnableLibSiliconPatch
libSiliconPatchPresent := strings.Contains(contentStr, "libSiliconPatch.dll")
// Validate dlls.txt: winerosetta must be present, libSiliconPatch based on setting
if winerosettaPresent && (!libSiliconPatchRequired || libSiliconPatchPresent) {
dllsFileValid = true