Commit graph

70 commits

Author SHA1 Message Date
Observer KRypt0n_
83ed703ad5
style: reordered some imports 2023-06-11 10:58:18 +02:00
Observer KRypt0n_
4b40901141
feat(core): updated SDK 2023-06-08 11:44:38 +02:00
Observer KRypt0n_
f3b7a53fea
feat(core): implemented SDK 1.4.0 2023-05-21 11:55:23 +02:00
Observer KRypt0n_
4676ac3a81 feat(core): use whatadistro library to identify package manager in first run window
Patch's dev has pacman gui game which executable is called `pacman`,
so with current checks this game was launching all the time on his pc lmao
2023-05-20 19:56:08 +02:00
Observer KRypt0n_
aa5215533a
feat: added rules approving dialog to the first run window 2023-04-22 18:06:41 +02:00
Observer KRypt0n_
4eed994648
feat(core): initial core/sdk migration patch set 2023-04-15 12:36:03 +02:00
Observer KRypt0n_
f66111f8e9
feat: preparations for upcoming 3.6 changes
Added support for the game files structure updating mechanism
form the latest launcher SDK. Also added
new progress bar statuses for applyign hdiff patches
and removing outdated files
2023-04-11 20:08:54 +02:00
Observer KRypt0n_
4e173fe9b1
feat(i18n): added base migration-related locales 2023-04-09 19:52:43 +02:00
Observer KRypt0n_
567df16610
feat: made migrate installation button work 2023-04-09 17:06:05 +02:00
Observer KRypt0n_
49ebbc35a2
feat(ui): added changelog to updated components toast
Implemented SDK 0.5.13
2023-04-08 21:57:52 +02:00
Observer KRypt0n_
deacef3759
feat(core): implemented SDK 0.5.12
This change allows to support game edition switching in settings
2023-04-08 19:46:28 +02:00
Observer KRypt0n_
7e20abf991
feat(ui): added initial installation migration window support 2023-03-29 18:45:31 +02:00
Observer KRypt0n_
f1b10c6bea
feat: first run: made default game folder name depend on game edition 2023-03-25 13:37:03 +02:00
Observer KRypt0n_
e24f642e83
feat(ui): reduced toasts timeout from 5 to 4 seconds 2023-03-24 16:05:42 +02:00
Observer KRypt0n_
ac652529d8
feat(core): removed launcher.speed_limit config 2023-03-24 14:47:02 +02:00
Observer KRypt0n_
2d81e50e68
refactor: used std::env::temp_dir() instead of std::path::PathBuf::from("/tmp") 2023-03-23 14:27:47 +02:00
Observer KRypt0n_
ddc122d631
feat(core): implemented core library 1.4.0
It now allowed to use several patches for the game. As well it now uses `GitRemoteSync`
trait like components index does with gains more stability I guess
2023-03-22 17:25:26 +02:00
Observer KRypt0n_
25b18958bc
feat: implemented relm4 0.6.0-alpha.2 and gtk 4.10 2023-03-19 16:39:33 +02:00
Observer KRypt0n_
12ce4f18a7
fix: fixed DXVK applying on changed default path during initial setup
As well I disabled long swipes and wheel scrolling for carousel.
Don't know why I forgot to do it before,
but nobody noticed it so..
2023-03-18 20:44:33 +02:00
Observer KRypt0n_
b2ff2c585d
fix: fixed components related error on changing default path 2023-03-16 14:26:59 +02:00
Observer KRypt0n_
9a0a327bc0
feat: changed default paths in initial setup window 2023-03-16 14:25:44 +02:00
Observer KRypt0n_
4efa6abbb0 feat(core): implemented new SDK 2023-03-15 23:11:34 +02:00
Observer KRypt0n_
7d46f9b6ab feat(ui): added fps unlocker path chooser in initial setup 2023-03-15 23:11:34 +02:00
Observer KRypt0n_
942abd8474
feat: added wine/dxvk downloading skipping in initial setup
This can cause some issues and in general is a good idea to
avoid downloading what is already downloaded
2023-03-11 09:41:28 +02:00
Observer KRypt0n_
e21dddd2a3
feat(core): implemented SDK 0.5.0 2023-03-08 18:37:16 +02:00
Observer KRypt0n_
ae990e996b
feat(core): implemented SDK 0.4.0 2023-03-08 14:32:32 +02:00
Observer KRypt0n_
438467e978
feat: improved components downloading in initial setup
Changed components versions to 4 latest versions of 4 first groups
Fixed prefix creation due to random weird issue
Disabled dlls repairing on dxvk applying
2023-03-07 20:10:36 +02:00
Observer KRypt0n_
032ca88a6e fix: fixed initial setup window panic
Before it couldn't get list of available wine/dxvk versions because
on first run launcher obviously doesn't have `components` folder
and it needs to be synced with one of remotes

I've added here status page and heavy tasks system to the first run window
as it works now on the main window, and now
components are synced there behind status page

As well was updated SDK with fixed `Installer::get_filename` method
which will fix issue with stuff downloading

closes https://github.com/an-anime-team/an-anime-game-launcher/issues/91
2023-03-07 13:07:22 +02:00
Observer KRypt0n_
2427faa089
feat(ui): added components index path selection to initial setup 2023-03-06 22:34:06 +02:00
Observer KRypt0n_
d69107dfba feat(core): added dynamic components loading
Now launcher will update its local wine/dxvk versions index from remotes in config file
2023-03-06 12:39:24 +02:00
Observer KRypt0n_
7fead37513
refactor: implemented #84 2023-03-05 22:52:53 +02:00
Observer KRypt0n_
b1b3455f8e feat: updated core library 2023-03-05 22:43:44 +02:00
Renaud Lepage
e1e53d4b49 xdg open 2023-03-05 20:31:12 +00:00
Observer KRypt0n_
5075588f6a
fix(ui): changed some icons names to -symbolic variants 2023-03-04 13:54:18 +02:00
Observer KRypt0n_
ec30411ef8
feat: added app launch flags
Added `--run-game` and `--just-run-game` flags which can be used to run the game

1st will launch the game if launcher state is `Launch`.
Otherwise launcher window will appear

2nd will launch the game on `Launch` state,
as well as on `PredownloadAvailable` and `PatchAvailable(Patch::NotAvailable)`.

As well process stopping was changed by proper app exiting
by calling `relm4::main_application().quit()`
2023-03-01 23:47:34 +02:00
Observer KRypt0n_
3b40ce75e6
feat(ui): added environment settings page
Added Environment settings page where you can specify command which
will be used to run the game, and manage
its environment variables
2023-02-26 19:15:18 +02:00
Observer KRypt0n_
681ad01835
feat(i18n): added localization to first run window 2023-02-25 16:06:43 +02:00
Observer KRypt0n_
b7e85b7a8f
fix(ui): 🐛 added background downloading on style's change from settings
Previously launcher wasn't downloading background picture if the style was changed from the settings. This lead to situation when the window size and components position is updated, but background is fully transparent. With this change launcher will try to download picture if default background file doesn't exist. Not that launcher won't try to update this picture and this will happen only after restart, which is not an issue, I think
2023-02-24 19:31:32 +02:00
Observer KRypt0n_
6024ef885e
feat(ui): added final page to the first run window
Also loading icon was replaced by a `GtkSpinner` in components downloading page
2023-02-24 19:23:49 +02:00
Observer KRypt0n_
7e2059a33e
feat(ui): added voiceover selection page to the first run window 2023-02-24 18:21:03 +02:00
Observer KRypt0n_
5d1633efe1
feat(ui): added components downloading page to the first run window
\
2023-02-24 17:17:42 +02:00
Observer KRypt0n_
aa182e6efb
style(ui): improved style of fullscreen first run window
Centered all the components for better styling
2023-02-24 13:31:10 +02:00
Observer KRypt0n_
cd3614df83
feat(ui): added blank components downloading page to first run window
As well were experimentally changed buttons styles to "pills" (large'n'round). Maybe I'll revert this change later
2023-02-24 12:26:33 +02:00
Observer KRypt0n_
4f560eaa5e
feat(ui): added paths selection page in first run window 2023-02-24 11:13:14 +02:00
Observer KRypt0n_
9d4ad8df34
feat(ui): added new pages to the first run window
Added new "ToS warning" and "Dependencies" working pages to the first run window
2023-02-23 21:16:49 +02:00
Observer KRypt0n_
3f5ce430f9
feat(ui): initial work on adding first run window
Added blank first run window with welcome page. On first start launcher will create launcher folder and `.first-run` file inside if needed. If file exists - launcher will open first run window instead of the main one (to prevent further data loadings in `init` functions)
2023-02-23 20:37:02 +02:00
Observer KRypt0n_
d6b5eb6411
relm4 init commit 2023-01-18 18:37:53 +02:00
Observer KRypt0n_
eaa8379976
Not sure what I wanted to fix initially
but in the end I rewrote tons of code,
including total change of strings to PathBuf
also I fixed all the warnings generated by clippy
2022-09-30 00:00:36 +02:00
Observer KRypt0n_
9869696d76
Fixed wine prefix creation 2022-09-28 11:54:35 +02:00
Observer KRypt0n_
002c77a9c1
Several changes
- updated core library and components library
- added (likely working) updates pre-downloading functionality
- moved to `anyhow::Result` in lots of places
2022-09-26 15:08:29 +02:00