mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-02-16 09:49:46 +03:00
Updated changelog, removed AppImage building script
This commit is contained in:
parent
c8fc6d3cf3
commit
e7c0228fdd
6 changed files with 16 additions and 101 deletions
16
CHANGELOG.md
16
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
|
||||
|
|
|
@ -80,9 +80,3 @@ cargo run
|
|||
```sh
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
## Building AppImage
|
||||
|
||||
```
|
||||
./scripts/build.sh
|
||||
```
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=An Anime Game Launcher GTK
|
||||
Icon=icon
|
||||
Exec=AppRun
|
||||
Type=Application
|
||||
Categories=Game
|
||||
Terminal=false
|
|
@ -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
|
|
@ -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" $@
|
|
@ -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
|
Loading…
Add table
Reference in a new issue