feat: 默认选中 SuperCafModels 包

This commit is contained in:
X1a0He
2025-11-22 21:29:56 +08:00
parent 3654194835
commit bbdaecc179
2 changed files with 7 additions and 2 deletions

View File

@@ -683,8 +683,8 @@ enum CleanupOption: String, CaseIterable, Identifiable {
] ]
case .adobeHosts: case .adobeHosts:
return [ return [
"sudo sh -c 'grep -v \"adobe\" /etc/hosts > /etc/hosts.temp && mv /etc/hosts.temp /etc/hosts'" "sudo sh -c 'grep -v \"adobe\" /etc/hosts | grep -v \"hstatic.io\" > /etc/hosts.temp && mv /etc/hosts.temp /etc/hosts'"
] ]
} }
} }

View File

@@ -233,6 +233,11 @@ struct NavigationCustomDownloadView: View {
(condition.contains("[OSVersion]") && checkOSVersionCondition(condition)) || (condition.contains("[OSVersion]") && checkOSVersionCondition(condition)) ||
condition.contains(installLanguage) || language == "ALL" condition.contains(installLanguage) || language == "ALL"
} }
// Photoshop SuperCafModels
if fullPackageName.contains("SuperCafModels") {
shouldDefaultSelect = true
}
let packageObj = Package( let packageObj = Package(
type: packageType, type: packageType,