Age | Commit message (Collapse) | Author |
|
|
|
|
|
* feat: Initial support for installing mods from TS
This is the basic code needed to install a mod from Thunderstore
* refactor: Remove console log, show msg in notif
Instead of console logging result message, show it in notification
instead.
* refactor: Rename function to indicate behaviour
Function not only installs but also downloads mod first.
Although it does remove downloaded zip post installation.
* refactor: Move install logic to dedicated module
`mod_management` module didn't exist when this PR was created
* chore: Trim single leftover newline
* fix: Update code for newer `libthermite` version
* feat: Allow installing older versions of mods
Installs the given version number instead of only allowing latest.
* fix: Explicit error msg for installing NS as mod
While it would fail during install anyway, having explicit error message
is nicer
* feat: Write TS mod string to mod.json
Write Thunderstore mod string of installed mod to its `mod.json`
This way we can later check whether a mod is outdated based on the
Thunderstore mod string
* fix: Early return on empty string
Prevent trying to install the first mod that matches an early string. We
should never pass an empty string in the first place but better safe
then sorry.
* build: Add dependency for recursive async
Needed for recursive mod dependency install
* feat: Recursively install mod dependencies
* fix: Early catch installing R2modman as mod
Just in case to prevent someone trying to install R2modman as a mod.
* refactor: Remove debug prints
* fix: Allow installing mods having NS as dependency
They would previously error out as Northstar cannot be installed as
dependency. We now catch that specific error and return Ok(())
* fix: Delete download folder after mod install
Deletes download folder after mod install if non-empty.
* fix: Do not early leave when dependency is NS
Logic error, instead of skipping installing Northstar as dependency it
would previously just return early with success.
* chore: Remove leftover commented out code
|
|
|
|
|
|
Some mods have comments in their JSON. Northstar handles it fine, so we
should too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Uses a tauri plugin for persistent store behind the scenes to persist
values over restarts of the application.
|
|
|
|
In particular, update Tauri to 1.1
|
|
|
|
To show user if application is outdated should self-update somehow not
work.
|
|
|
|
|
|
|
|
|
|
still Steam version only
|
|
for libthermite
|
|
Also includes initial add of libthermite as dependency
|
|
|
|
|
|
and propagate it to front-end
|
|
|
|
|
|
|
|
|
|
|