From 61ec2da6df9989dfe37b254baf2ec7f220a95ee9 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 2 Aug 2024 00:50:57 +0900 Subject: [PATCH] Migrated RetroDECK-cooker url [skip ci] --- .github/workflows/flathub_push_main.yml | 2 +- README.md | 2 +- functions/checks.sh | 2 +- functions/other_functions.sh | 2 +- old/disabled-workflows/flathub_push_cooker.yml | 2 +- old/workflows/flathub_push_cooker.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/flathub_push_main.yml b/.github/workflows/flathub_push_main.yml index 7e085521..44c9ec28 100644 --- a/.github/workflows/flathub_push_main.yml +++ b/.github/workflows/flathub_push_main.yml @@ -83,7 +83,7 @@ jobs: # curl -sL \ # -H "Accept: application/vnd.github+json" \ # -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \ - # https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \ + # https://api.github.com/repos/RetroDECK/Cooker/releases \ # | jq .[0].tag_name \ # | tr -d \" \ # ) diff --git a/README.md b/README.md index 01534517..e4b86f83 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Read up here on how to help out, there is something for everyone: | Name | Description | |-------------------------------------------------------------|-----------------------------------------------------------| | [RetroDECK](https://github.com/XargonWan/RetroDECK) | This one, our main repo where the core of the project is | -| [RetroDECK-cooker](https://github.com/XargonWan/RetroDECK-cooker) | Where we publish our test build, no code is hosted here | +| [RetroDECK/Cooker](https://github.com/RetroDECK/Cooker) | Where we publish our test build, no code is hosted here | | [RetroDECK/Wiki](https://github.com/RetroDECK/Wiki) | Where our wiki source code is | | [RetroDECK-website](https://github.com/XargonWan/RetroDECK-website) | Where our website source code is | | [RetroDECK on Flathub](https://github.com/flathub/net.retrodeck.retrodeck) | Our little space in Flathub's organization | diff --git a/functions/checks.sh b/functions/checks.sh index d0a60f73..bf769850 100644 --- a/functions/checks.sh +++ b/functions/checks.sh @@ -99,7 +99,7 @@ check_for_version_update() { log i "Selected: \"Yes\"" configurator_generic_dialog "RetroDECK Online Update" "The update process may take several minutes.\n\nAfter the update is complete, RetroDECK will close. When you run it again you will be using the latest version." ( - local latest_cooker_download=$(curl --silent https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases/latest | grep '"browser_download_url":.*flatpak' | grep -v '\.sha' | sed -E 's/.*"([^"]+)".*/\1/') + local latest_cooker_download=$(curl --silent https://api.github.com/repos/RetroDECK/Cooker/releases/latest | grep '"browser_download_url":.*flatpak' | grep -v '\.sha' | sed -E 's/.*"([^"]+)".*/\1/') local temp_folder="$rdhome/RetroDECK_Updates" create_dir $temp_folder log i "Downloading version \"$online_version\" in \"$temp_folder/RetroDECK-cooker.flatpak\" from url: \"$latest_cooker_download\"" diff --git a/functions/other_functions.sh b/functions/other_functions.sh index 703727a7..82820901 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -737,7 +737,7 @@ branch_selector() { set_setting_value "$rd_conf" "branch" "$selected_branch" "retrodeck" "options" branch="feat/sftp" # Get the latest release for the specified branch - latest_release=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases" | jq ".[] | select(.target_commitish == \"$branch_name\") | .tag_name" | head -n 1) + latest_release=$(curl -s "https://api.github.com/repos/RetroDECK/Cooker/releases" | jq ".[] | select(.target_commitish == \"$branch_name\") | .tag_name" | head -n 1) # TODO: this will fail because the builds coming from the PRs are not published yet, we should fix them # TODO: form a proper url: $flatpak_file_url configurator_generic_dialog "RetroDECK Online Update" "The update process may take several minutes.\n\nAfter the update is complete, RetroDECK will close. When you run it again you will be using the latest version." diff --git a/old/disabled-workflows/flathub_push_cooker.yml b/old/disabled-workflows/flathub_push_cooker.yml index 65a4d349..deacd295 100644 --- a/old/disabled-workflows/flathub_push_cooker.yml +++ b/old/disabled-workflows/flathub_push_cooker.yml @@ -66,7 +66,7 @@ jobs: # curl -sL \ # -H "Accept: application/vnd.github+json" \ # -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \ - # https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \ + # https://api.github.com/repos/RetroDECK/Cooker/releases \ # | jq .[0].tag_name \ # | tr -d \" \ # ) diff --git a/old/workflows/flathub_push_cooker.yml b/old/workflows/flathub_push_cooker.yml index 65a4d349..deacd295 100644 --- a/old/workflows/flathub_push_cooker.yml +++ b/old/workflows/flathub_push_cooker.yml @@ -66,7 +66,7 @@ jobs: # curl -sL \ # -H "Accept: application/vnd.github+json" \ # -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \ - # https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \ + # https://api.github.com/repos/RetroDECK/Cooker/releases \ # | jq .[0].tag_name \ # | tr -d \" \ # )