Commit graph

650 commits

Author SHA1 Message Date
Observer KRypt0n_
71d6505fd7
Several changes
- added dnf requirements installation command from the main branch
- added Runners settings section
  and `RunnersSelectionList` to manage them
2021-12-27 16:31:32 +02:00
Observer KRypt0n_
295bd165d9 Merge branch 'Chaimann-main-patch-46547' into 'main'
Add Fedora's dnf installation command

See merge request KRypt0n_/an-anime-game-launcher!16
2021-12-27 14:10:12 +00:00
Observer KRypt0n_
7f4f14d76b
Severl changes
- disabled neutralino window hot reloading
- fixed `Game.current` version gathering from the game files
- fixed `Patch.getPatchInfo()` method working, so now this function and
  the `Patch.current` field will return correct information whether
  the patch was applied or not
- `Patch.install()` method now can return null if the patch state is "preparation"
- added `Voice.selected` field that will represent the `lang.voice` config
- fixed `Voice.getDiff()` method errors
- improved `Archive`'s stream unpacked files listing
- made `Prefix` class, some `Runners` methods from the previous update were moved there
- fixed `ProgressBar.init()` method work which also fixes ETA calculation
- added bunch of new launcher states and events for them
- added `State.update()` method to automatically update launcher's state
- `Process` object now can get the output of the process that was started
  by the `Process.run()` method and can be accesed
  by the `output` event
- also was removed `input` field for the `Process.run()` method options
2021-12-27 16:08:06 +02:00
Jegor Prawdikow
c0e8006fef Add Fedora's dnf installation command as the "xdelda3" package is actually called "xdelta". 2021-12-27 12:11:08 +00:00
Observer KRypt0n_
68d766da58
API improvements
- added `Archive.closeStreams()` method to close all the unpacking streams
- added `Downloader.closeStreams()` method to close all the downloading streams
- added the same methods to the streams itself
- fixed launch button events execution
- added prefix creation during the game installation/updagin
  if it is not created
- added some hack to the `Process.running()` method to show that the process
  is not running if it is a zombie
2021-12-27 00:27:39 +02:00
Observer KRypt0n_
e8c721dc93
API improvements
- added `Runners.getWinetricks()` method to get the `winetricks.sh` script
- added `Runners.createPrefix()` to create wine prefix using the currently
  selected wine version
- added game installation and updating action scripts
- added `Process.addSlashes()` method to easily isolate some strings
2021-12-26 23:38:04 +02:00
Observer KRypt0n_
342eeadbfd
Settings menu improvements
- added voice selection
- added theme selection
- added discrod rpc toggle
- added hud selection
- added gamemode, fps unlocker and dxvk logs auto-deletion options
- default settings were moved to a separate file
- dxvk list now shows installed and active dxvk
- added `DXVK.current` field
2021-12-26 22:32:01 +02:00
Observer KRypt0n_
8937a8eba9
Added svelte components
- made `SelectionBox` component
- made `DXVKSelectionList` component
- updated locales files
- added locale selection based on `SelectionBox` component
2021-12-26 19:50:24 +02:00
Observer KRypt0n_
e86058dabe
Changed project framework
- vue was replaced by svelte
- changed typescript preferences
- changed `Launcher` class
- added `Locales.default()` method to manage default localizations setting
2021-12-26 18:25:57 +02:00
Observer KRypt0n_
317557b335
Several changes
- made selection list component
- generalized selection box component;
  added `LanguageSelection` component
- `DXVK.get()` method was renamed to `DXVK.get()`
- added `DXVK.get()` method to get a DXVK with a specified version
2021-12-26 00:47:08 +02:00
Observer KRypt0n_
210157a5a8
Several changes
- made selectbox component
- added language selection box
- renamed languages
2021-12-25 22:03:01 +02:00
Observer KRypt0n_
c2b8623718
Several changes
- added components system
- made settings template settings
- added `vue-i18n`, made template locales
- made `Checkbox` component
2021-12-25 17:44:27 +02:00
Observer KRypt0n_
0684774ea8
Several changes
- added `vue-i18n`
- made `Locales` class to get launcher locales
- added checking that settings window is not already open in `Launcher.showSettings()`
- improved `promisify()`; now it can work with `Promise` objects
- improved `Process` class;
  added `Process.kill()` and `Process.running()` methods
- improved `Window` class, fixed its output
2021-12-25 16:09:46 +02:00
Observer KRypt0n_
1a99aae933
Several changes
- added template settings html file
- removed excess code from the entry file
- fixed windows loading
- added proper main window title
- added settings button events
- also `index.ts` now works through `promisify()`
- added `Launcher.showSettings()` method
- fixed `promisify()` issues related to `callAtOnce` property
2021-12-24 21:57:27 +02:00
Observer KRypt0n_
843196e0e1
API improvements
- fixed `Game.getLatestData()` method
- added `Patch.install()` method
- added downloaded archive auto-deletion in `AbstractInstaller`
- highly improved `promisify()` function
- added `source` field for the patch info
2021-12-24 21:05:58 +02:00
Observer KRypt0n_
bd41bd1f46
Added proper wine prefix usage in game starting 2021-12-24 14:41:17 +02:00
Observer KRypt0n_
123db17f57
Fixed promised runners dir usage 2021-12-24 14:37:26 +02:00
Observer KRypt0n_
d0368803cc
Added several runners versions 2021-12-24 14:35:37 +02:00
Observer KRypt0n_
d1474f643a
API improvements
- made `promisify()` function to run some code asynchronously
- added some default configs setting at start
- now settings are stored in yaml format
- fixed `Configs.defaults()` null values overwriting
- added launcher state system
- added `Runners.current` field to get the current selected runner
  according to the config file
- `Configs.get()` method was renamed to `Configs.list()`
- added `Configs.get()` method to get a `Runner` object
  by the specified runner name
- added `Process` class to have a better experience of working with processes
- updated readme
2021-12-24 14:23:45 +02:00
Observer KRypt0n_
6e38611900
API improvements
- added `Game.update()` method
- added `Voice.update()` method
- fixed `ProgressBar.update()` types errors
- added languages to the `Voice.current` field
- updated `package.json` and `tsconfig.json`
- updated roadmap goals
2021-12-23 22:19:32 +02:00
Observer KRypt0n_
f85acba926 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-23 20:07:50 +02:00
Observer KRypt0n_
5835f1e6cf
Several changes
- added some default settings setting
- changed unsupported `user-select` style to `-webkit-user-select`
- `Configs.set()` now can store promise objects
- made `ProgressBar` and `Background` classes in `launcher` folder
  to simplify `Launcher` code
2021-12-23 20:07:48 +02:00
Maroxy
182cddb006
Proper TS 2021-12-23 18:06:52 +01:00
Maroxy
bf3e57a7dd
Fix ts-expect-error 2021-12-23 17:54:22 +01:00
Maroxy
65ab2a8be7
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-23 17:48:26 +01:00
Observer KRypt0n_
0854a2fefd
Several changes
- changed launcher version field in neutralino configs
- updated vite dependency version
- added launcher background and social buttons reactive loading
- added `Cache` class that probably will be useless in future
-
2021-12-23 16:07:35 +02:00
Maroxy
d3b06dc77e
Change gitignore 2021-12-22 18:11:26 +01:00
Observer KRypt0n_
579a917793
Older roadmap goals were moved to a separate file 2021-12-22 17:42:26 +02:00
Observer KRypt0n_
bf1f8372f4
Added 2.0.0 release goals 2021-12-22 17:35:45 +02:00
Observer KRypt0n_
601b7e0a23
Added Patch class
- added `Patch.getPatchInfo()` method to try to get info about specified
  patch version and source
- added `Patch.latest` field to get latest available patch info
2021-12-22 17:17:54 +02:00
Observer KRypt0n_
c25b367227 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-22 15:15:24 +02:00
Observer KRypt0n_
23445bc85e
API improvements
- added `Game.versions` field
- created custom `fetch` function for proper work with http requests
- `Downloader.download()` was rewritten to work with custom `fetch` function
2021-12-22 15:15:22 +02:00
Marie
c6e63464c3 Add package_lock.json to gitignore 2021-12-22 13:01:33 +00:00
Marie
d60b92dedf Use actual GPLV3 license instead of GPLV2 2021-12-22 12:52:58 +00:00
Observer KRypt0n_
9e6672c797
API improvements
- added `Game.getDiff()` method to the difference between specified
  version and the latest one
- added `Voice.latest` field
- added `Voice.getDiff()` method
- updated comments
2021-12-22 11:51:25 +02:00
Observer KRypt0n_
180db65ecc
API improvements
- fixed `Configs.defaults()` settings overwriting
- added `Game.getLatestData()` and `Game.latest` to get latest game's version
- added `Voice` class to work with installed voice packages
- some classes were moved to the `core` folder
2021-12-22 11:35:10 +02:00
Observer KRypt0n_
3f72b5c598
Returned back dxvks.json syntax 2021-12-22 01:27:42 +02:00
Maroxy
0b3858a3a3
Add missing export 2021-12-22 00:13:24 +01:00
Maroxy
026c64f93c
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-22 00:10:35 +01:00
Maroxy
c89e9ddf37
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-22 00:10:10 +01:00
Observer KRypt0n_
dc21bd4ce2
Fixed launcherDir const usage 2021-12-22 01:09:04 +02:00
Maroxy
d2c46c95bf
Change DXVK format 2021-12-22 00:07:38 +01:00
Observer KRypt0n_
6a50331d59 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-22 00:29:01 +02:00
Observer KRypt0n_
8da7e3efcc
API improvements
- fixed `constants` casing
- added `constants.prefix` fields;
  renamed a lot of fields;
  encoded game related names
- added `Game` class to work with game info
  added `Game.current` field to parse installed game version
2021-12-22 00:28:58 +02:00
Maroxy
fe3cff78ad
Fix Comments and provide proper english 2021-12-21 22:45:01 +01:00
Observer KRypt0n_
748b197984
API improvements
- changed dxvk fields
- added abstract `Installer` class to simplify `Stream` classes
- added `DXVK` class
- updated comments
2021-12-21 23:28:46 +02:00
Maroxy
bde04d7a9a
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-21 20:42:42 +01:00
Maroxy
e02892ea74
Fix TS Errors 2021-12-21 20:41:26 +01:00
Observer KRypt0n_
fbae851add
Small changes
- changed app icon size to 64x64
- disabled logging, added auth token export
- removed unused dependency
- added comment for `Runners.download` method
2021-12-21 21:35:10 +02:00
Observer KRypt0n_
9dc5b47983
API improvements
- added `start` events for `Archive` and `Downloader` streams
- fixed `Downloader.download` file size calculation
- `Downloader.fileFromUri` is now public
- fixed `Runners.get` output type
- added `Runners.download` method
2021-12-21 20:00:19 +02:00