mirror of
https://github.com/dev-claw/vripper-project.git
synced 2026-08-19 08:35:41 +02:00
update links
This commit is contained in:
@@ -35,7 +35,7 @@ object ApplicationProperties {
|
||||
|
||||
fun latestVersion(): String {
|
||||
val request = HttpRequest.newBuilder()
|
||||
.uri(URI.create("https://api.github.com/repos/death-claw/vripper-project/releases/latest")).build()
|
||||
.uri(URI.create("https://api.github.com/repos/dev-claw/vripper-project/releases/latest")).build()
|
||||
return HttpClient.newHttpClient().use {
|
||||
val response = it.send(request, HttpResponse.BodyHandlers.ofString())
|
||||
if (response.statusCode() / 100 != 2) {
|
||||
|
||||
@@ -197,7 +197,7 @@ class MenuBarView : View() {
|
||||
owner = primaryStage,
|
||||
) {
|
||||
if (it == ButtonType.YES) {
|
||||
openLink("https://github.com/death-claw/vripper-project/releases/tag/$latestVersion")
|
||||
openLink("https://github.com/dev-claw/vripper-project/releases/tag/$latestVersion")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user