mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Point installers and updaters at the Graduately repository.
GitHub and Forgejo were renamed; keep artifact filenames, update repo URLs and remotes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
ccc31a9e01
commit
d9bba71442
21 changed files with 55 additions and 53 deletions
|
|
@ -175,7 +175,7 @@ final class Updater {
|
|||
private func get(_ url: String) throws -> String {
|
||||
guard let u = URL(string: url) else { throw URLError(.badURL) }
|
||||
var req = URLRequest(url: u, timeoutInterval: 15)
|
||||
req.setValue("maturita.c-macos", forHTTPHeaderField: "User-Agent")
|
||||
req.setValue("Graduately-macos", forHTTPHeaderField: "User-Agent")
|
||||
req.setValue("*/*", forHTTPHeaderField: "Accept")
|
||||
let sem = DispatchSemaphore(value: 0)
|
||||
var result: Result<String, Error> = .failure(URLError(.unknown))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue