an-anime-game-launcher/README.md

84 lines
2.6 KiB
Markdown
Raw Normal View History

2022-06-29 00:59:20 +03:00
# An Anime Game Launcher GTK
2022-08-26 11:51:36 +03:00
The launcher variant written on Rust, GTK4 and libadwaita, using [Anime Game Core](https://github.com/an-anime-team/anime-game-core) library
2022-06-29 00:59:20 +03:00
2022-08-26 11:51:36 +03:00
<img src="https://github.com/an-anime-team/an-anime-game-launcher/raw/main/repository/pics/logo.jpg">
2022-08-04 00:24:11 +03:00
<img src="repository/pictures/main.png">
<img src="repository/pictures/settings.png">
2022-06-29 00:59:20 +03:00
2022-08-24 22:06:03 +03:00
<br>
2022-08-26 11:51:36 +03:00
<p align="center">You could also try <a href="https://github.com/an-anime-team/an-anime-game-launcher">the main branch</a></p>
2022-08-24 22:06:03 +03:00
<br>
2022-08-26 12:51:07 +03:00
# Documentation
2022-08-24 22:06:03 +03:00
2022-08-26 11:51:36 +03:00
I wrote small documentation [here](https://github.com/an-anime-team/an-anime-game-launcher-gtk/wiki). It may contain some useful information
2022-08-24 22:06:03 +03:00
2022-08-26 12:51:07 +03:00
# Download
| Source | Link |
| --- | --- |
| Native | [Releases](https://github.com/an-anime-team/an-anime-game-launcher-gtk/releases) page |
| AUR | [an-anime-game-launcher-gtk-bin](https://aur.archlinux.org/packages/an-anime-game-launcher-gtk-bin) |
| Pacstall | [an-anime-game-launcher-gtk-bin](https://pacstall.dev/packages/an-anime-game-launcher-gtk-bin) |
2022-10-28 19:42:03 +03:00
| Ebuild | [an-anime-game-launcher-gtk](https://github.com/an-anime-team/aagl-ebuilds) |
2022-08-26 12:51:07 +03:00
## Flatpak support
To install the launcher via flatpak you will first have to make sure that you have flathub's remote installed
```zsh
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
After installing flathub's remote you install launcher.moe's remote
NOTE: You can install the repo on a per user base by appending --user after --if-not-exists (This is especially useful if on Steam Deck)
```zsh
flatpak remote-add --if-not-exists launcher.moe https://gol.launcher.moe/gol.launcher.moe.flatpakrepo
```
Now the only thing remaining is to install the launcher
```zsh
flatpak install launcher.moe moe.launcher.an-anime-game-launcher-gtk
```
Some additional configuration is possible when using the flatpak. For info about this, see [this page](https://github.com/an-anime-team/an-anime-game-launcher-flatpak/blob/rust-launcher/README.md)
2022-08-24 22:06:03 +03:00
## Chinese version support
This should be automatically enabled if you're using zh_cn (Chinese) as your system language. If you're not using it - you'll need to set `China` as your `launcher.edition` in the `config.json` file
2022-08-26 12:51:07 +03:00
# Development
2022-06-29 00:59:20 +03:00
| Folder | Description |
| - | - |
| ui | Blueprint UI files |
| ui/.dist | UI files compiled by the blueprint |
| src | Rust source code |
| target/release | Release build of the app |
| blueprint-compiler | Blueprint compiler |
| anime-game-core | Anime Game Core library |
2022-08-26 12:51:07 +03:00
## Clone repo
2022-06-29 00:59:20 +03:00
```sh
2022-08-26 11:51:36 +03:00
git clone --recursive https://github.com/an-anime-team/an-anime-game-launcher-gtk
2022-06-29 00:59:20 +03:00
```
2022-08-26 12:51:07 +03:00
## Run app
2022-06-29 00:59:20 +03:00
```sh
cargo run
```
2022-08-26 12:51:07 +03:00
## Build app
2022-06-29 00:59:20 +03:00
```sh
cargo build --release
```