Age | Commit message (Collapse) | Author |
|
The current design for the installed mods is not exactly the best. And
it has been due for a redesign for quite a while, I'm finally starting
work on this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This module makes it easier to read JSON files, simply returning false
on errors, and attempting to repair the JSON automatically.
|
|
The reasoning behind this is obvious, I overall would like to make
utils.js far smaller, and if not get entirely rid of it.
|
|
|
|
This doesn't entirely uphold support, as it doesn't use the author file
for anything, however it does write it as intended.
|
|
|
|
|
|
feat: Localize "Unknown Error!" toasts
|
|
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
|
|
|
|
|
|
#157
|
|
#155
|
|
This was only here to test the uncaught exception catching.
|
|
When JavaScript errors occur outside of the renderer, they'll no longer
display a big and confusingly detailed error stack, now they'll simply
be shown a toast about the fact that an error happened.
The user can then click this to get more details, but still without it
being as invasive and obtuse as before.
|
|
If a mod has multiple mod folders inside it, however all with the same
name, they'll be merged together, this now fixes that, by adding
"(dupe)" to the end of it, along with displaying an error, however it
will install successfully.
This also happens to add some duplicate toast protection, however this
should be reworked, but I am not bothered to deal with it right now, and
I instead will be putting this on future me.
|
|
|
|
|
|
|
|
|
|
If a mod has an incorrectly formatted mod.json it is ignored when trying
to build/get the list of installed mods.
|
|
Some functions have been renamed:
update() -> updateNorthstar()
updatevp() -> updateViper()
Overall these are far better function names...
|
|
"requests.json" is very vague, and going through your cache folder may
confuse you as to what program created the file, now it's way clearer.
|
|
|
|
Co-authored-by: Delta <31860825+AA-Delta@users.noreply.github.com>
|
|
|
|
Co-authored-by: GeckoEidechse <gecko.eidechse+git@pm.me>
|
|
|
|
|
|
|
|
|
|
When release notes (either Northstar or Viper) fetching fails,
if cache contains data, we display it even if it's outdated; if
cache is empty, we display an error message in place of release
notes.
|
|
I removed the underscore at one point and forgot to change the name
everywhere it seems.
|
|
Fixed various typos, mistranslations, and grammatical errors
|
|
|
|
Added German translation of the word German to title.
|
|
|
|
When progress is made on extracting the Northstar zip file it'll update
the "Extracting..." message to "Extracting... X%" replacing X with the
amount that's been extracted.
|
|
|
|
|
|
Now, even if the core mods are installed it'll still make sure the
NorthstarLauncher.exe exists, so if Northstar has only been half
installed it'll be detected.
|
|
When opening the preview for a mod it may show a cookie alert, this is
now auto-hidden, along with an alert recommending users to use the
Thunderstore Mod Manager, or an alternative, since Viper is an
alternative, this is only an alert that can confuse users. And it is
therefore removed.
|
|
The settings button now turns like a cog when hovered, and there's a
slight animation when you hover a settings switch.
|
|
Only on the titles, putting them only on the options or on both the
title and options would be far too much, just the title is perfect.
|