mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 09:05:42 +00:00
Merge branch 'cooker-0.5.2b'
This commit is contained in:
commit
78d7503ce5
10
.github/workflows/flathub_push_main.yml
vendored
10
.github/workflows/flathub_push_main.yml
vendored
|
@ -38,8 +38,7 @@ jobs:
|
|||
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
|
||||
|
||||
cd $gits_folder/flathub
|
||||
|
||||
git checkout -b $relname
|
||||
git checkout master
|
||||
|
||||
git rm -rf *
|
||||
git clean -fxd # restroing git index
|
||||
|
@ -73,14 +72,9 @@ jobs:
|
|||
|
||||
sed -i "s#__SHA__#$sha#g" net.retrodeck.retrodeck.yml
|
||||
|
||||
echo -e "Resulting manifest:\n"
|
||||
cat net.retrodeck.retrodeck.yml
|
||||
|
||||
git config --global user.name "${{ secrets.GITNAME }}"
|
||||
git config --global user.email "${{ secrets.GITMAIL }}"
|
||||
|
||||
git add *
|
||||
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
||||
|
||||
git remote -v
|
||||
git push https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git $relname
|
||||
git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git master
|
||||
|
|
11
.github/workflows/main-selfhosted.yml
vendored
11
.github/workflows/main-selfhosted.yml
vendored
|
@ -42,14 +42,13 @@ jobs:
|
|||
org.freedesktop.Sdk.Extension.llvm13 \
|
||||
org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08
|
||||
|
||||
# for main remember to change ${HOME} into ${GITHUB_WORKSPACE}
|
||||
- name: Build flatpak
|
||||
run: |
|
||||
flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Create Artifact for flathub
|
||||
run: |
|
||||
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker .
|
||||
tar -czf ${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz -C ${GITHUB_WORKSPACE}/retrodeck-flatpak-main .
|
||||
hash=($(sha256sum ${GITHUB_WORKSPACE}/RetroDECK-Artifact.tar.gz))
|
||||
echo $hash > ${GITHUB_WORKSPACE}/RetroDECK-Artifact.sha
|
||||
mv -f RetroDECK-Artifact.* ${{ secrets.ARTIFACT_REPO }}
|
||||
|
@ -57,17 +56,11 @@ jobs:
|
|||
|
||||
- name: Create Bundle
|
||||
run: |
|
||||
flatpak-builder --user --force-clean --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-main net.retrodeck.retrodeck.yml
|
||||
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||
|
||||
- name: Read version from version file
|
||||
id: version
|
||||
run: echo "##[set-output name=version;]$(cat $(find . -name version))"
|
||||
|
||||
- name: Publish the flatpak in a new release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
#tag: "${{ steps.version.outputs.version }}"
|
||||
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||
body: |
|
||||
# Release Notes
|
||||
|
|
|
@ -69,6 +69,18 @@
|
|||
|
||||
<releases>
|
||||
|
||||
<release version="0.5.2b" date="2022-10-13">
|
||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.2b</url>
|
||||
<description>
|
||||
<ul>
|
||||
<li>VERY IMPORTANT: We are moving your saves! This can take time on the first boot. If you miss some saves they are not gone. Please read more in the wiki.</li>
|
||||
<li>Fixed Citra save migration folder</li>
|
||||
<li>Fixed a bug where the videos were not played correctly in some cases</li>
|
||||
<li>Fixed the Rewind tool</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
|
||||
<release version="0.5.1b" date="2022-10-12">
|
||||
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.1b</url>
|
||||
<description>
|
||||
|
|
|
@ -64,11 +64,11 @@ modules:
|
|||
# The version number is hardcoded in /app/retrodeck/version
|
||||
#
|
||||
# UPDATE STEPS FOR MAIN:
|
||||
# [X] Update the VERSION variable
|
||||
# [X] Update the appdata.xml with the version number and notes
|
||||
# [X] change branch into main in version-initialization (first one)
|
||||
# [X] change branch into main in retrodeck module (last one)
|
||||
# [X] if header (before modules) was edited, edit it even in flathub.yml
|
||||
# [ ] Update the VERSION variable
|
||||
# [ ] Update the appdata.xml with the version number and notes
|
||||
# [ ] change branch into main in version-initialization (first one)
|
||||
# [ ] change branch into main in retrodeck module (last one)
|
||||
# [ ] if header (before modules) was edited, edit it even in flathub.yml
|
||||
#
|
||||
- name: version-initialization
|
||||
buildsystem: simple
|
||||
|
@ -76,7 +76,7 @@ modules:
|
|||
- |
|
||||
git checkout ${GITHUB_REF_NAME}
|
||||
mkdir -p ${FLATPAK_DEST}/retrodeck/
|
||||
VERSION="0.5.1b"
|
||||
VERSION="0.5.2b"
|
||||
if [[ $VERSION == *"cooker"* ]];
|
||||
then
|
||||
VERSION="cooker-"$(git rev-parse --short HEAD)
|
||||
|
@ -232,7 +232,7 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://gitlab.com/es-de/emulationstation-de
|
||||
branch: 18b2ee412e1bb3ea35ffd6e680ebf1dacda8e0ff
|
||||
branch: f8d782f1f3b1fba8a119b793edd01f37e0258953
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's/QUIT EMULATIONSTATION/QUIT RETRODECK/g' es-app/src/guis/GuiMenu.cpp
|
||||
|
|
|
@ -292,6 +292,11 @@ post_update() {
|
|||
mv -fv /var/config/PCSX2/sstates/* $rdhome/states/ps2/pcsx2
|
||||
mv -fv /var/config/PCSX2/memcards/* $rdhome/saves/ps2/memcards
|
||||
|
||||
# Moving Citra saves from legacy location to 0.5.0b structure
|
||||
|
||||
mv -fv $rdhome/saves/Citra/* $rdhome/saves/n3ds/citra
|
||||
rmdir $rdhome/saves/Citra # Old folder cleanup
|
||||
|
||||
versionwheresaveschanged="0.4.5b" # Hardcoded break point between unsorted and sorted saves
|
||||
|
||||
if [[ $(sed -e "s/\.//g" <<< $hard_version) > $(sed -e "s/\.//g" <<< $versionwheresaveschanged) ]] && [[ ! $(sed -e "s/\.//g" <<< $hard_version) == $(sed -e "s/\.//g" <<< $version) ]]; then # Check if user is upgrading from the version where save organization was changed. Try not to reuse this, it things 0.4.5b is newer than 0.4.5
|
||||
|
|
|
@ -9,13 +9,13 @@ zenity --question \
|
|||
|
||||
if [ $? == 0 ] #yes, enable
|
||||
then
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "true"' $racfg
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "true"%' $racfg
|
||||
zenity --info \
|
||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
--text="Rewind enabled\!\nYou can check on Libretro docs to see which cores supports this function."
|
||||
else # no, disable
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "false"' $racfg
|
||||
sed -i 's%rewind_enable = .*%rewind_enable = "false"%' $racfg
|
||||
zenity --info \
|
||||
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
|
|
Loading…
Reference in a new issue