fixed crossover path default overwrite
This commit is contained in:
@@ -98,8 +98,10 @@ func UpdatePathLabels(crossoverPathLabel, turtlewowPathLabel *widget.RichText) {
|
||||
}
|
||||
|
||||
func CheckDefaultCrossOverPath() {
|
||||
if CrossoverPath == "" {
|
||||
if info, err := os.Stat(DefaultCrossOverPath); err == nil && info.IsDir() {
|
||||
CrossoverPath = DefaultCrossOverPath
|
||||
log.Println("Pre-set CrossOver to default:", DefaultCrossOverPath)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user