Age | Commit message (Collapse) | Author |
|
The new modlist now uses the same toggles found in the settings popup,
only here they're used to disable/enable mods. On top of this I also
fixed the "Toggle All" button not working. Forgot to change some stuff,
breaking it... oops...
|
|
We now just use a click event listener, and check through what's at the
click location, and toggle classes as needed.
|
|
|
|
Previously some outdated packages would just say "Re-Install" and not
"Update", now that's fixed, along with making the logic easier for use
in the mod list.
|
|
|
|
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.
|
|
|