mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
Use new ver of StikImporter
This commit is contained in:
parent
cd0f03ba04
commit
6ca0103f9f
2 changed files with 5 additions and 5 deletions
|
|
@ -24,8 +24,8 @@
|
|||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/StephenDev0/StikImporter",
|
||||
"state" : {
|
||||
"revision" : "4d80fca1334493889501d5b5a9fdcbb262e11f24",
|
||||
"version" : "1.0.2"
|
||||
"revision" : "8b0ced6c4447257cc6d22d26b8346f79773e4461",
|
||||
"version" : "1.1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ struct IPAAppManagerView: View {
|
|||
.navigationTitle("Testing")
|
||||
.stikImporter(isPresented: $pickerShown,
|
||||
selectedURLs: .constant([]),
|
||||
allowedContentTypes: [.item],
|
||||
allowedContentTypes: [.ipa],
|
||||
allowsMultipleSelection: false) { urls in
|
||||
if let u = urls.first {
|
||||
do { try mgr.importIPA(from: u); notify("File imported", "File saved to Imports") }
|
||||
|
|
@ -531,12 +531,12 @@ private struct AddCertView: View {
|
|||
importRow(label: ".mobileprovision", picked: mobURL != nil) { pickMob = true }
|
||||
.stikImporter(isPresented: $pickMob,
|
||||
selectedURLs: .constant([]),
|
||||
allowedContentTypes: [UTType.item],
|
||||
allowedContentTypes: [.mobileProvision],
|
||||
allowsMultipleSelection: false) { mobURL = $0.first }
|
||||
importRow(label: ".p12 file", picked: p12URL != nil) { pickP12 = true }
|
||||
.stikImporter(isPresented: $pickP12,
|
||||
selectedURLs: .constant([]),
|
||||
allowedContentTypes: [UTType.item],
|
||||
allowedContentTypes: [.p12],
|
||||
allowsMultipleSelection: false) { p12URL = $0.first }
|
||||
SecureField("p12 password", text: $password)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue