merge upsteam branch/cooker-0.8.3b

This commit is contained in:
icenine451 2024-07-22 09:39:07 -04:00
commit 5d9b306671
4 changed files with 77 additions and 18 deletions

View file

@ -5,6 +5,7 @@ on:
branches: branches:
- cooker* - cooker*
- feat* - feat*
- branch/cooker*
paths: paths:
- '.github/workflows/**' - '.github/workflows/**'
- 'automation_tools/**' - 'automation_tools/**'

View file

@ -349,6 +349,36 @@ post_update() {
ln -sv $ryujinxconf "$(dirname $ryujinxconf)/PRConfig.json" ln -sv $ryujinxconf "$(dirname $ryujinxconf)/PRConfig.json"
fi fi
if [[ $(check_version_is_older_than "0.8.3b") == "true" ]]; then
# In version 0.8.3b, the following changes were made:
# - Recovery from a failed move of the themes, downloaded_media and gamelists folder to their new ES-DE locations.
if [[ !-d "$rdhome/ES-DE/themes" || ! -d "$rdhome/ES-DE/downloaded_media" || ! -d "$rdhome/ES-DE/gamelists" || ! -d "$rdhome/ES-DE/collections" ]]; then
log i "Moving ES-DE downloaded_media, gamelist, and themes from \"$rdhome\" to \"$rdhome/ES-DE\" due to a RetroDECK Framework bug"
if [[ -d "$rdhome/themes" && ! -d "$rdhome/ES-DE/themes" ]]; then
move "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed"
else
log i "ES-DE themes appears to already have been migrated."
fi
if [[ -d "$rdhome/downloaded_media" && ! -d "$rdhome/ES-DE/downloaded_media" ]]; then
move "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" && log d "Move of \"$rdhome/downloaded_media\" completed"
else
log i "ES-DE downloaded media appears to already have been migrated."
fi
if [[ -d "$rdhome/gamelists" && ! -d "$rdhome/ES-DE/gamelists" ]]; then
move "$rdhome/gamelists" "$rdhome/ES-DE/gamelists" && log d "Move of \"$rdhome/gamelists/\" completed"
else
log i "ES-DE gamelists appears to already have been migrated."
fi
if [[ -d "$rdhome/collections" && ! -d "$rdhome/ES-DE/collections" ]]; then
move "$rdhome/collections" "$rdhome/ES-DE/collections" && log d "Move of \"$rdhome/collections/\" completed"
else
log i "ES-DE collections appears to already have been migrated."
fi
else
log i "ES-DE folders appears to already have been migrated."
fi
fi
if [[ $(check_version_is_older_than "0.8.3b") == "true" ]]; then if [[ $(check_version_is_older_than "0.8.3b") == "true" ]]; then
# In version 0.8.3b, the following changes were made: # In version 0.8.3b, the following changes were made:
# - Recovery from a failed move of the themes, downloaded_media and gamelists folder to their new ES-DE locations. # - Recovery from a failed move of the themes, downloaded_media and gamelists folder to their new ES-DE locations.

View file

@ -67,7 +67,21 @@
<project_license>GPL-3.0</project_license> <project_license>GPL-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<releases> <releases>
<release version="0.8.2b" date="2024-07-17"> <release version="0.8.3b" date="2024-07-22">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.8.3b</url>
<description>
<p>Big fixes:</p>
<ul>
<li>Fixed a bug where the ES-DE folders where not correctly migrated from retrodeck folder to retrodeck/ES-DE folder</li>
</ul>
<p>Known issues:</p>
<ul>
<li>Ryujinx is broken in this version, we plan to fix it soon, check the known issues to learn more</li>
<li>Please check the know issues in the Wiki under General Information</li>
</ul>
</description>
</release>
<release version="0.8.2b" date="2024-07-18">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.8.2b</url> <url>https://github.com/XargonWan/RetroDECK/releases/tag/0.8.2b</url>
<description> <description>
<p>Changes:</p> <p>Changes:</p>
@ -89,7 +103,8 @@
</ul> </ul>
<p>Known issues:</p> <p>Known issues:</p>
<ul> <ul>
<li>Please check the know issues in the Wiki under General Information.</li> <li>Ryujinx is broken in this version, we plan to fix it soon, check the known issues to learn more</li>
<li>Please check the know issues in the Wiki under General Information</li>
</ul> </ul>
</description> </description>
</release> </release>

View file

@ -68,8 +68,8 @@ modules:
# The version number is hardcoded in /app/retrodeck/version # The version number is hardcoded in /app/retrodeck/version
# #
# UPDATE STEPS FOR MAIN: # UPDATE STEPS FOR MAIN:
# [ ] Update the VERSION variable on line containing "VERSION=THISBRANCH" # [X] Update the VERSION variable on line containing "VERSION=THISBRANCH"
# [ ] Update the appdata.xml with the version number and notes # [X] Update the appdata.xml with the version number and notes
# #
- name: version-initialization - name: version-initialization
buildsystem: simple buildsystem: simple
@ -77,8 +77,8 @@ modules:
- | - |
# on main please update this with the version variable, eg: VERSION=0.8.0b # on main please update this with the version variable, eg: VERSION=0.8.0b
# on cooker will be VERSION=cooker-0.9.0b for example # on cooker will be THISBRANCH
VERSION=cooker-0.8.2b VERSION=cooker-0.8.3b
git checkout ${GITHUB_REF_NAME} git checkout ${GITHUB_REF_NAME}
mkdir -p ${FLATPAK_DEST}/retrodeck/ mkdir -p ${FLATPAK_DEST}/retrodeck/
@ -1232,21 +1232,34 @@ modules:
# url: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1343/ryujinx-1.1.1343-linux_x64.tar.gz # url: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1343/ryujinx-1.1.1343-linux_x64.tar.gz
# sha256: 3cd2172d2f42a0fb93a83bffe6bd8fb2d1d81fb45afc80e0068a245c8f755ac1 # sha256: 3cd2172d2f42a0fb93a83bffe6bd8fb2d1d81fb45afc80e0068a245c8f755ac1
- name: Ryujinx-with-symlink-fix # - name: Ryujinx-with-symlink-fix
# buildsystem: simple
# build-commands:
# - |
# mkdir -p ${FLATPAK_DEST}/ryujinx
# mkdir -p ${FLATPAK_DEST}/bin
# chmod +x Ryujinx.sh
# chmod +x Ryujinx
# mv -v * ${FLATPAK_DEST}/ryujinx
# ln -sv ${FLATPAK_DEST}/ryujinx/Ryujinx.sh ${FLATPAK_DEST}/bin/Ryujinx.sh
# chmod +x ${FLATPAK_DEST}/bin/Ryujinx.sh
# sources:
# - type: archive
# url: https://gitlab.com/-/project/59825450/uploads/8519a04d7a3f5b5949f14b6ad25a4185/ryujinx-Release-1.1.0+81fd228-linux_x64.zip
# sha256: 9e4a4393a3dcc44fda2aec40c2842492e30656c7369a9959d865a3351f12eeb9
# This version was reported as working with symlinks: https://discord.com/channels/951662718102962256/951715885968654418/1264882000658169866
- name: Ryujinx-reported-working-version
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- | - |
mkdir -p ${FLATPAK_DEST}/ryujinx tar -zxvf *.tar.gz
mkdir -p ${FLATPAK_DEST}/bin mv -v publish ${FLATPAK_DEST}/ryujinx
chmod +x Ryujinx.sh ln -sv ${FLATPAK_DEST}/ryujinx/Ryujinx ${FLATPAK_DEST}/bin/Ryujinx.sh
chmod +x Ryujinx
mv -v * ${FLATPAK_DEST}/ryujinx
ln -sv ${FLATPAK_DEST}/ryujinx/Ryujinx.sh ${FLATPAK_DEST}/bin/Ryujinx.sh
chmod +x ${FLATPAK_DEST}/bin/Ryujinx.sh
sources: sources:
- type: archive - type: file
url: https://gitlab.com/-/project/59825450/uploads/8519a04d7a3f5b5949f14b6ad25a4185/ryujinx-Release-1.1.0+81fd228-linux_x64.zip url: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1297/ryujinx-1.1.1297-linux_x64.tar.gz
sha256: 9e4a4393a3dcc44fda2aec40c2842492e30656c7369a9959d865a3351f12eeb9 sha256: 28b38754e7d2e92083b313b23278c180ae54ac025edbbd0276ec03baec0cec0f
# Ryujinx Appimage - END # Ryujinx Appimage - END