From 9ca46396614423b64dbfcf2568c71f23a7eadc64 Mon Sep 17 00:00:00 2001 From: Stephen <158498287+0-Blu@users.noreply.github.com> Date: Wed, 2 Apr 2025 01:02:12 -0400 Subject: [PATCH 1/5] Create info.md --- info.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 info.md diff --git a/info.md b/info.md new file mode 100644 index 0000000..45116c3 --- /dev/null +++ b/info.md @@ -0,0 +1,6 @@ +# Privacy Policy for StikDebug +StikDebug does not collect, store, or share any personal data. All processing happens entirely on your device. + +# Support for StikDebug +To get support join our [Discord Server](https://discord.gg/mACqxMxP3X) + From 08d911c5ddb02b88d7fab6d8a476cb65bd5beb62 Mon Sep 17 00:00:00 2001 From: Dawn Date: Wed, 2 Apr 2025 15:05:35 +0800 Subject: [PATCH 2/5] no need for version.txt --- StikJIT/StikJITApp.swift | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/StikJIT/StikJITApp.swift b/StikJIT/StikJITApp.swift index 197e05a..94407f0 100644 --- a/StikJIT/StikJITApp.swift +++ b/StikJIT/StikJITApp.swift @@ -49,31 +49,11 @@ func httpGet(_ urlString: String, result: @escaping (String?) -> Void){ } func UpdateRetrieval() -> Bool{ - let fileURL = URL.documentsDirectory.appendingPathComponent("version.txt") - if !fileManager.fileExists(atPath: fileURL.path) { - - let urlString = "https://raw.githubusercontent.com/0-Blu/StikJIT/refs/heads/main/version.txt" - var FileContent: String = ""; - - httpGet(urlString) { result in - if let fc = result { - FileContent = fc - } - - } - if (FileContent == ""){ - do { - try FileContent.write(to: fileURL, atomically: true, encoding: .utf8) - - print("Wrote to file successfully") - } catch { - print("Error writing to file: \(error)") - } - } else { - print("Failed to get version.txt, will try again later.") - } + + let ver: String { + let marketingVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "1.0" + return marketingVersion } - let ver = try! String(contentsOfFile: fileURL.path) let urlString = "https://raw.githubusercontent.com/0-Blu/StikJIT/refs/heads/main/version.txt" var res = false httpGet(urlString) { result in From 1279b5418f7272ab96b1a491095e10aff8cc4fcd Mon Sep 17 00:00:00 2001 From: Stossy11 <69031796+stossy11@users.noreply.github.com> Date: Wed, 2 Apr 2025 18:15:29 +1100 Subject: [PATCH 3/5] Update README.md to include more detailed info about em_proxy --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b704c59..084d74c 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ ## Features - On-device Just-In-Time (JIT) compilation for supported apps via [`idevice`](https://github.com/jkcoxson/idevice). - Seamless integration with [`em_proxy`](https://github.com/SideStore/em_proxy). + - Note: em_proxy isn't needed for StosVPN, is only kept for backwards compatibility with WireGuard - Native UI for managing JIT-enabling. - No data collection—ensuring full privacy. From 77d84d18510178c9a16746b4f81a52ed40f2b36b Mon Sep 17 00:00:00 2001 From: Stossy11 <69031796+stossy11@users.noreply.github.com> Date: Wed, 2 Apr 2025 18:15:59 +1100 Subject: [PATCH 4/5] Fix Spelling Mistake --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 084d74c..d3afc05 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ ## Features - On-device Just-In-Time (JIT) compilation for supported apps via [`idevice`](https://github.com/jkcoxson/idevice). - Seamless integration with [`em_proxy`](https://github.com/SideStore/em_proxy). - - Note: em_proxy isn't needed for StosVPN, is only kept for backwards compatibility with WireGuard + - Note: em_proxy isn't needed for StosVPN, its only kept for backwards compatibility with WireGuard - Native UI for managing JIT-enabling. - No data collection—ensuring full privacy. From 8c791bafadf128250cf3ea5858e292cbd7300b1f Mon Sep 17 00:00:00 2001 From: Dawn Date: Wed, 2 Apr 2025 15:20:49 +0800 Subject: [PATCH 5/5] Update StikJITApp.swift --- StikJIT/StikJITApp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StikJIT/StikJITApp.swift b/StikJIT/StikJITApp.swift index 94407f0..1e1298b 100644 --- a/StikJIT/StikJITApp.swift +++ b/StikJIT/StikJITApp.swift @@ -50,7 +50,7 @@ func httpGet(_ urlString: String, result: @escaping (String?) -> Void){ func UpdateRetrieval() -> Bool{ - let ver: String { + var ver: String { let marketingVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "1.0" return marketingVersion }