diff --git a/README.md b/README.md index b704c59..d3afc05 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, its only kept for backwards compatibility with WireGuard - Native UI for managing JIT-enabling. - No data collection—ensuring full privacy. diff --git a/StikJIT/StikJITApp.swift b/StikJIT/StikJITApp.swift index 197e05a..1e1298b 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.") - } + + var 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 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) +