From e7c0228fddbd8cc1d81018e6dba679447e38e554 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sun, 11 Sep 2022 16:55:51 +0200 Subject: [PATCH] Updated changelog, removed AppImage building script --- CHANGELOG.md | 16 ++++++ README.md | 6 --- scripts/appimage/anime-game-launcher.desktop | 7 --- scripts/appimage/build_appimage.sh | 51 -------------------- scripts/appimage/run.sh | 21 -------- scripts/build.sh | 16 ------ 6 files changed, 16 insertions(+), 101 deletions(-) delete mode 100644 scripts/appimage/anime-game-launcher.desktop delete mode 100755 scripts/appimage/build_appimage.sh delete mode 100644 scripts/appimage/run.sh delete mode 100755 scripts/build.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index d29b383..5d57bc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# 1.0.4 + +- added creation of wine/dxvk folders at start if needed +- fixed ability to use system wine to run the game +- updated components (wine/dxvk) system +- reworked DXVKs UI components to support different builds +- fixed thread issues when calling `MainApp::update_state` +- updated core library; now launcher will continue downloading + of partially downloaded files +- added downloading speed limiter (`config.json` -> `launcher.speed_limit`) +- added `Config::try_get_selected_dxvk_info` method; + now launcher loads currently applied dxvk version from the wine prefix files +- added initial updates pre-downloading support (from 1.0.3 core) +- removed patch-related buttons +- changed FSR description + # 1.0.3 - fixed work with `patch` folder diff --git a/README.md b/README.md index 72efafc..f4d664e 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,3 @@ cargo run ```sh cargo build --release ``` - -## Building AppImage - -``` -./scripts/build.sh -``` diff --git a/scripts/appimage/anime-game-launcher.desktop b/scripts/appimage/anime-game-launcher.desktop deleted file mode 100644 index cf6053d..0000000 --- a/scripts/appimage/anime-game-launcher.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=An Anime Game Launcher GTK -Icon=icon -Exec=AppRun -Type=Application -Categories=Game -Terminal=false diff --git a/scripts/appimage/build_appimage.sh b/scripts/appimage/build_appimage.sh deleted file mode 100755 index fa40ad2..0000000 --- a/scripts/appimage/build_appimage.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -cd "$(dirname "$0")" - -linuxdeploy="linuxdeploy-x86_64.AppImage" -appimagetool="appimagetool-x86_64.AppImage" - -icon="../../assets/images/icon.png" -release_bin="../../target/release/anime-game-launcher" - -version=$(awk '/^version = "(.+)"$/{print substr($3, 2, length($3) - 2)}' '../../Cargo.toml') - -if [ ! -f $linuxdeploy ]; -then - echo "Downloading LinuxDeploy..." - - curl -s -L -o $linuxdeploy https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage - - chmod +x $linuxdeploy -fi - -if [ ! -f $appimagetool ]; -then - echo "Downloading AppImageTool..." - - curl -s -L -o $appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage - - chmod +x $appimagetool -fi - -if [ -d dist ]; -then - rm -rf dist -fi - -mkdir dist - -cp $release_bin "dist/anime-game-launcher" - -echo "Executing LinuxDeploy..." - -./$linuxdeploy --appdir dist -d anime-game-launcher.desktop --custom-apprun run.sh -i $icon -o appimage - -echo "Executing AppImageTool..." - -VERSION=$version ./$appimagetool dist - -rm -rf dist -rm -f An_Anime_Game_Launcher_GTK-x86_64.AppImage - -cp An_Anime_Game_Launcher_GTK-$version-x86_64.AppImage ../builds/an-anime-game-launcher-gtk-$version.AppImage diff --git a/scripts/appimage/run.sh b/scripts/appimage/run.sh deleted file mode 100644 index 47ab990..0000000 --- a/scripts/appimage/run.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -if [ -z "$APPDIR" ] ; then - path="$(dirname "$(readlink -f "${THIS}")")" - - while [[ "$path" != "" && ! -e "$path/$1" ]]; do - path=${path%/*} - done - - APPDIR="$path" -fi - -export PATH="${APPDIR}:${APPDIR}/usr/sbin:${PATH}" -export XDG_DATA_DIRS="./share/:/usr/share/gnome:/usr/local/share/:/usr/share/:${XDG_DATA_DIRS}" -export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}" -export XDG_DATA_DIRS="${APPDIR}"/usr/share/:"${XDG_DATA_DIRS}":/usr/share/gnome/:/usr/local/share/:/usr/share/ -export GSETTINGS_SCHEMA_DIR="${APPDIR}/usr/share/glib-2.0/schemas:${GSETTINGS_SCHEMA_DIR}" - -cd "$APPDIR" - -exec "$APPDIR/anime-game-launcher" $@ diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index beda80b..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -curr_dir=$(dirname "$0") - -cd $(dirname $curr_dir) - -cargo build --release - -cd $curr_dir - -rm -rf builds -mkdir builds - -cp ../target/release/anime-game-launcher builds/anime-game-launcher - -./appimage/build_appimage.sh