mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
Merge branch '0-Blu:main' into main
This commit is contained in:
commit
b7127d3eaf
3 changed files with 11 additions and 24 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
6
info.md
Normal file
6
info.md
Normal file
|
|
@ -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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue