feat: fix detail
This commit is contained in:
@@ -21,7 +21,11 @@
|
|||||||
"Bash(killall xcodebuild:*)",
|
"Bash(killall xcodebuild:*)",
|
||||||
"Bash(cp:*)",
|
"Bash(cp:*)",
|
||||||
"Bash(pkill:*)",
|
"Bash(pkill:*)",
|
||||||
"Bash(git:*)"
|
"Bash(git:*)",
|
||||||
|
"Bash(xcrun simctl:*)",
|
||||||
|
"Bash(xcrun devicectl:*)",
|
||||||
|
"Bash(networksetup:*)",
|
||||||
|
"Bash(system_profiler SPNetworkDataType:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,14 @@ struct CookieInputView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Section("Cookie") {
|
Section("Cookie") {
|
||||||
|
#if os(tvOS)
|
||||||
|
TextField("粘贴 Cookie...", text: $cookieText)
|
||||||
|
.font(.system(.body, design: .monospaced))
|
||||||
|
#else
|
||||||
TextEditor(text: $cookieText)
|
TextEditor(text: $cookieText)
|
||||||
.font(.system(.body, design: .monospaced))
|
.font(.system(.body, design: .monospaced))
|
||||||
.frame(minHeight: 120)
|
.frame(minHeight: 120)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ struct AppNavigation: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !os(tvOS)
|
||||||
private var sidebarLayout: some View {
|
private var sidebarLayout: some View {
|
||||||
NavigationSplitView {
|
NavigationSplitView {
|
||||||
List(AppTab.visibleTabs, selection: $selectedTab) { tab in
|
List(AppTab.visibleTabs, selection: $selectedTab) { tab in
|
||||||
@@ -106,6 +107,7 @@ struct AppNavigation: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private func tabContent(for tab: AppTab) -> some View {
|
private func tabContent(for tab: AppTab) -> some View {
|
||||||
|
|||||||
Submodule LocalPackages/SwiftSoup updated: 8b6cf29eea...e98a6d63ce
23
Package.resolved
Normal file
23
Package.resolved
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"pins" : [
|
||||||
|
{
|
||||||
|
"identity" : "lrucache",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/nicklockwood/LRUCache.git",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "cb5b2bd0da83ad29c0bec762d39f41c8ad0eaf3e",
|
||||||
|
"version" : "1.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identity" : "swift-atomics",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/apple/swift-atomics.git",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7",
|
||||||
|
"version" : "1.3.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version" : 2
|
||||||
|
}
|
||||||
27
project.yml
27
project.yml
@@ -4,6 +4,7 @@ options:
|
|||||||
deploymentTarget:
|
deploymentTarget:
|
||||||
iOS: "17.0"
|
iOS: "17.0"
|
||||||
macOS: "14.0"
|
macOS: "14.0"
|
||||||
|
tvOS: "17.0"
|
||||||
xcodeVersion: "16.0"
|
xcodeVersion: "16.0"
|
||||||
groupSortPosition: top
|
groupSortPosition: top
|
||||||
createIntermediateGroups: true
|
createIntermediateGroups: true
|
||||||
@@ -32,6 +33,26 @@ targets:
|
|||||||
INFOPLIST_KEY_CFBundleDisplayName: DDYS
|
INFOPLIST_KEY_CFBundleDisplayName: DDYS
|
||||||
CODE_SIGN_ENTITLEMENTS: DDYSClient/DDYSClient.entitlements
|
CODE_SIGN_ENTITLEMENTS: DDYSClient/DDYSClient.entitlements
|
||||||
|
|
||||||
|
DDYSClient-tvOS:
|
||||||
|
type: application
|
||||||
|
platform: tvOS
|
||||||
|
sources:
|
||||||
|
- path: DDYSClient
|
||||||
|
resources:
|
||||||
|
- path: Resources
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
- package: SwiftSoup
|
||||||
|
settings:
|
||||||
|
base:
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER: com.fusion.ddys.client
|
||||||
|
MARKETING_VERSION: "1.0.0"
|
||||||
|
CURRENT_PROJECT_VERSION: 1
|
||||||
|
SWIFT_VERSION: "5.9"
|
||||||
|
GENERATE_INFOPLIST_FILE: YES
|
||||||
|
INFOPLIST_KEY_CFBundleDisplayName: 低端影视
|
||||||
|
INFOPLIST_KEY_UILaunchScreen_Generation: YES
|
||||||
|
|
||||||
schemes:
|
schemes:
|
||||||
DDYSClient:
|
DDYSClient:
|
||||||
build:
|
build:
|
||||||
@@ -39,3 +60,9 @@ schemes:
|
|||||||
DDYSClient: all
|
DDYSClient: all
|
||||||
run:
|
run:
|
||||||
config: Debug
|
config: Debug
|
||||||
|
DDYSClient-tvOS:
|
||||||
|
build:
|
||||||
|
targets:
|
||||||
|
DDYSClient-tvOS: all
|
||||||
|
run:
|
||||||
|
config: Debug
|
||||||
|
|||||||
Reference in New Issue
Block a user