mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Migrated RetroDECK-cooker url [skip ci]
This commit is contained in:
parent
dee967ed00
commit
61ec2da6df
2
.github/workflows/flathub_push_main.yml
vendored
2
.github/workflows/flathub_push_main.yml
vendored
|
@ -83,7 +83,7 @@ jobs:
|
||||||
# curl -sL \
|
# curl -sL \
|
||||||
# -H "Accept: application/vnd.github+json" \
|
# -H "Accept: application/vnd.github+json" \
|
||||||
# -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
|
# -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 \
|
# | jq .[0].tag_name \
|
||||||
# | tr -d \" \
|
# | tr -d \" \
|
||||||
# )
|
# )
|
||||||
|
|
|
@ -97,7 +97,7 @@ Read up here on how to help out, there is something for everyone:
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
|-------------------------------------------------------------|-----------------------------------------------------------|
|
|-------------------------------------------------------------|-----------------------------------------------------------|
|
||||||
| [RetroDECK](https://github.com/XargonWan/RetroDECK) | This one, our main repo where the core of the project is |
|
| [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/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-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 |
|
| [RetroDECK on Flathub](https://github.com/flathub/net.retrodeck.retrodeck) | Our little space in Flathub's organization |
|
||||||
|
|
|
@ -99,7 +99,7 @@ check_for_version_update() {
|
||||||
log i "Selected: \"Yes\""
|
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."
|
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"
|
local temp_folder="$rdhome/RetroDECK_Updates"
|
||||||
create_dir $temp_folder
|
create_dir $temp_folder
|
||||||
log i "Downloading version \"$online_version\" in \"$temp_folder/RetroDECK-cooker.flatpak\" from url: \"$latest_cooker_download\""
|
log i "Downloading version \"$online_version\" in \"$temp_folder/RetroDECK-cooker.flatpak\" from url: \"$latest_cooker_download\""
|
||||||
|
|
|
@ -737,7 +737,7 @@ branch_selector() {
|
||||||
set_setting_value "$rd_conf" "branch" "$selected_branch" "retrodeck" "options"
|
set_setting_value "$rd_conf" "branch" "$selected_branch" "retrodeck" "options"
|
||||||
branch="feat/sftp"
|
branch="feat/sftp"
|
||||||
# Get the latest release for the specified branch
|
# 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: 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
|
# 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."
|
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."
|
||||||
|
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
# curl -sL \
|
# curl -sL \
|
||||||
# -H "Accept: application/vnd.github+json" \
|
# -H "Accept: application/vnd.github+json" \
|
||||||
# -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
|
# -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 \
|
# | jq .[0].tag_name \
|
||||||
# | tr -d \" \
|
# | tr -d \" \
|
||||||
# )
|
# )
|
||||||
|
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
# curl -sL \
|
# curl -sL \
|
||||||
# -H "Accept: application/vnd.github+json" \
|
# -H "Accept: application/vnd.github+json" \
|
||||||
# -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
|
# -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 \
|
# | jq .[0].tag_name \
|
||||||
# | tr -d \" \
|
# | tr -d \" \
|
||||||
# )
|
# )
|
||||||
|
|
Loading…
Reference in a new issue