Revert "Use new ver of StikImporter"

This reverts commit 6ca0103f9f.
This commit is contained in:
Stephen 2025-07-31 02:31:40 -04:00
parent 81c2c30a33
commit 9e51d0a97d
2 changed files with 5 additions and 5 deletions

View file

@ -24,8 +24,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/StephenDev0/StikImporter",
"state" : {
"revision" : "8b0ced6c4447257cc6d22d26b8346f79773e4461",
"version" : "1.1.0"
"revision" : "4d80fca1334493889501d5b5a9fdcbb262e11f24",
"version" : "1.0.2"
}
},
{

View file

@ -371,7 +371,7 @@ struct IPAAppManagerView: View {
.navigationTitle("Testing")
.stikImporter(isPresented: $pickerShown,
selectedURLs: .constant([]),
allowedContentTypes: [.ipa],
allowedContentTypes: [.item],
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: [.mobileProvision],
allowedContentTypes: [UTType.item],
allowsMultipleSelection: false) { mobURL = $0.first }
importRow(label: ".p12 file", picked: p12URL != nil) { pickP12 = true }
.stikImporter(isPresented: $pickP12,
selectedURLs: .constant([]),
allowedContentTypes: [.p12],
allowedContentTypes: [UTType.item],
allowsMultipleSelection: false) { p12URL = $0.first }
SecureField("p12 password", text: $password)
}