Skip to content

Commit c08fc16

Browse files
committed
Update links to new GitHub URL
1 parent b7780d2 commit c08fc16

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

scripts/control_create/control_create.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function control_create() {
488488

489489
// Updates
490490
if (check_update)
491-
update_http = http_get("https://api.github.com/repos/HielkeMinecraft/OpenNoteBlockStudio/releases/latest")
491+
update_http = http_get(link_latest)
492492
else
493493
update_http = -1
494494
update_download = -1
@@ -512,7 +512,7 @@ function control_create() {
512512
change_theme()
513513

514514
// Auto-recovery
515-
// DISABLED DUE TO https://github.com/HielkeMinecraft/OpenNoteBlockStudio/issues/196
515+
// DISABLED DUE TO https://github.com/OpenNBS/OpenNoteBlockStudio/issues/196
516516
// Implement in a better way that takes multiple instances into account.
517517
/*
518518
if (file_exists_lib(backup_file)) {

scripts/draw_window_update/draw_window_update.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function draw_window_update() {
6363
draw_theme_font(font_main)
6464
draw_scrollbar(update_scrollbar, x1 + 470, y1 + 60, 12, 22, n, 0, 1)
6565
if (draw_button2(x1 + 16, y1 + 365, 96, condstr(language != 1, "Older versions...", "查看更旧版本…"))) {
66-
open_url("https://hielkeminecraft.github.io/OpenNoteBlockStudio/changelog")
66+
open_url(link_changelog)
6767
}
6868
if (draw_button2(x1 + 487 - 72, y1 + 365, 72, condstr(language != 1, "OK", "确认")) && (windowopen = 1 || theme != 3)) {
6969
if (window = w_update) {

scripts/macros/macros.gml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ function macros() {
66
#macro nbs_version 5
77
#macro pat_version 1
88

9-
#macro link_github "https://github.com/HielkeMinecraft/OpenNoteBlockStudio"
10-
#macro link_report "https://github.com/HielkeMinecraft/OpenNoteBlockStudio/issues/new/choose"
11-
#macro link_website "https://hielkeminecraft.github.io/OpenNoteBlockStudio"
9+
#macro link_github "https://github.com/OpenNBS/OpenNoteBlockStudio"
10+
#macro link_report "https://github.com/OpenNBS/OpenNoteBlockStudio/issues/new/choose"
11+
#macro link_latest "https://api.github.com/repos/OpenNBS/OpenNoteBlockStudio/releases/latest"
12+
#macro link_changelog "https://opennbs.org/changelog"
13+
#macro link_website "https://opennbs.org/"
1214
#macro link_discord "https://discord.gg/sKPGjyVcyy"
1315

1416
#macro file_directory game_save_id

0 commit comments

Comments
 (0)