mirror of
https://github.com/X1a0He/Adobe-Downloader.git
synced 2025-11-25 03:14:57 +08:00
feat: 默认选中 SuperCafModels 包
This commit is contained in:
@@ -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'"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user