Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Default bootstrap layout to roothide in Guest menu

Lakrda74abd15971
diff --git a/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings b/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings
index a13b039f..3e7e68a7 100644
--- a/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings
+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings
@@ -17,13 +17,13 @@
"en": { "stringUnit": { "state": "translated", "value": "Choose the bootstrap layout. This installs the latest Irisin release once in the guest." } },
"zh-Hans": { "stringUnit": { "state": "translated", "value": "选择引导环境布局。将在客体中安装一次最新版 Irisin。" } }
} },
- "Rootless": { "localizations": {
- "en": { "stringUnit": { "state": "translated", "value": "Rootless" } },
- "zh-Hans": { "stringUnit": { "state": "translated", "value": "Rootless" } }
+ "roothide": { "localizations": {
+ "en": { "stringUnit": { "state": "translated", "value": "roothide" } },
+ "zh-Hans": { "stringUnit": { "state": "translated", "value": "隐根" } }
} },
- "RootHide": { "localizations": {
- "en": { "stringUnit": { "state": "translated", "value": "RootHide" } },
- "zh-Hans": { "stringUnit": { "state": "translated", "value": "RootHide" } }
+ "rootless (deprecated)": { "localizations": {
+ "en": { "stringUnit": { "state": "translated", "value": "rootless (deprecated)" } },
+ "zh-Hans": { "stringUnit": { "state": "translated", "value": "无根(弃用)" } }
} },
"Installing the latest Irisin release in the guest.": { "localizations": {
"en": { "stringUnit": { "state": "translated", "value": "Installing the latest Irisin release in the guest." } },
diff --git a/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/Menu/VPhoneMenuConnect.swift b/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/Menu/VPhoneMenuConnect.swift
index 7482539e..0dade78b 100644
--- a/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/Menu/VPhoneMenuConnect.swift
+++ b/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/Menu/VPhoneMenuConnect.swift
@@ -117,12 +117,12 @@ extension VPhoneMenuController {
title: "Install Bootstrap",
message: "Choose the bootstrap layout. This installs the latest Irisin release once in the guest.",
style: .informational,
- buttons: ["Rootless", "RootHide", "Cancel"],
+ buttons: ["roothide", "rootless (deprecated)", "Cancel"],
) { [weak self] response in
let layout: String
switch response {
- case .alertFirstButtonReturn: layout = "rootless"
- case .alertSecondButtonReturn: layout = "roothide"
+ case .alertFirstButtonReturn: layout = "roothide"
+ case .alertSecondButtonReturn: layout = "rootless"
default: return
}
self?.performBootstrapInstallation(layout: layout)