Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 927e5c9

Browse files
authored
Revise SetupView with new StikDebug steps
Updated setup instructions and added new steps for StikDebug installation.
1 parent 5b5f25b commit 927e5c9

1 file changed

Lines changed: 20 additions & 24 deletions

File tree

Sources/prostore/views/SetupView.swift

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,24 @@ struct SetupView: View {
1414
imageName: "star.fill"
1515
),
1616
SetupPage(
17-
title: "Install ProStore Shortcut",
18-
subtitle: "Please install the shortcut below.",
19-
imageName: "shortcut"
17+
title: "Install StikDebug",
18+
subtitle: "Install StikDebug from the App Store [here](https://apps.apple.com/us/app/stikdebug/id6744045754).",
19+
imageName: "bolt.fill"
20+
),
21+
SetupPage(
22+
title: "Add pairing file to StikDebug",
23+
subtitle: "Follow the steps [here](https://stikdebug.xyz/#guide) on your computer to place the pairing file in StikDebug.",
24+
imageName: "bolt.fill"
25+
),
26+
SetupPage(
27+
title: "Add pairing file to ProStore",
28+
subtitle: "Go to 'Files', and navigate to the 'StikDebug' folder in 'On My iPad',\nthen duplicate/copy the file to the 'ProStore' folder in 'On My iPad'.\nMake sure its called 'pairingFile.plist'.",
29+
imageName: "p.square"
30+
),
31+
SetupPage(
32+
title: "Reminder",
33+
subtitle: "Important: Make sure before every time you use ProStore, turn on the StikDebug VPN by either opening StikDebug or via Settings, otherwise app installs won't work!",
34+
imageName: "list.bullet.circle"
2035
),
2136
SetupPage(
2237
title: "You're finished!",
@@ -43,7 +58,7 @@ struct SetupView: View {
4358
.bold()
4459
.multilineTextAlignment(.center)
4560

46-
Text(pages[index].subtitle)
61+
Text(.init(pages[index].subtitle))
4762
.multilineTextAlignment(.center)
4863
.padding(.horizontal)
4964
}
@@ -69,26 +84,6 @@ struct SetupView: View {
6984

7085
Button(currentPage == pages.count - 1 ? "Finish" : "Next") {
7186
withAnimation {
72-
73-
// MARK: - Shortcut install step
74-
if pages[currentPage].title == "Install ProStore Shortcut" {
75-
76-
// iCloud-hosted Shortcut URL (works 100% of the time)
77-
let rawURL = "https://www.icloud.com/shortcuts/d26821cec58d42fba93e4b216b70c6d5"
78-
79-
if var components = URLComponents(string: "shortcuts://import-shortcut") {
80-
components.queryItems = [
81-
URLQueryItem(name: "url", value: rawURL)
82-
]
83-
84-
if let shortcutURL = components.url {
85-
UIApplication.shared.open(shortcutURL)
86-
} else {
87-
print("⚠️ Failed to build import URL")
88-
}
89-
}
90-
}
91-
9287
// Continue navigation
9388
if currentPage < pages.count - 1 {
9489
currentPage += 1
@@ -113,3 +108,4 @@ struct SetupPage {
113108
let subtitle: String
114109
let imageName: String
115110
}
111+

0 commit comments

Comments
 (0)