Updated changelog, removed AppImage building script

This commit is contained in:
Observer KRypt0n_ 2022-09-11 16:55:51 +02:00
parent c8fc6d3cf3
commit e7c0228fdd
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
6 changed files with 16 additions and 101 deletions

View file

@ -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 # 1.0.3
- fixed work with `patch` folder - fixed work with `patch` folder

View file

@ -80,9 +80,3 @@ cargo run
```sh ```sh
cargo build --release cargo build --release
``` ```
## Building AppImage
```
./scripts/build.sh
```

View file

@ -1,7 +0,0 @@
[Desktop Entry]
Name=An Anime Game Launcher GTK
Icon=icon
Exec=AppRun
Type=Application
Categories=Game
Terminal=false

View file

@ -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

View file

@ -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" $@

View file

@ -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