aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-09-16more minor fixes to the change in lang files0neGal
2023-09-16handle gamepaths with missing read/write perms0neGal
We now show an alert if the gamepath is detected to be missing read/write perms, both when selecting the gamepath initially, when it gets auto detected, but also after it's selected, passively.
2023-09-16made some lang keys far more logical0neGal
Most of these are from back when Viper was originally started, I also removed a few keys as they were no longer in use, but were forgotten about, most of these are from pre-v1.0.0 aka, the old smaller UI
2023-09-16lang files can now use objects!0neGal
The `lang()` function doesn't change whatsoever, as the lang files are flattened and are therefore identical to the before this commit. I also cleaned up the files, and all the lang files should now all look far more similar in order.
2023-09-16added button to force kill game0neGal
2023-09-13fixed settings file refusing to save if invalid0neGal
This is quite counter intuitive, as, if it's invalid, how do we re-validate it, if we can't even save it again. This existed here because the idea was for the re-validation to occur somewhere else, and to make sure incorrectly formatted data wasn't being given to this function. Now the function simply resets the config, a restart may be required to add missing settings, in case the parsed `conf` doesn't have all keys.
2023-09-13ideally eliminate race condition loading config0neGal
From my testing this works without problems, but further testing will be requested in #211
2023-09-13synchronize changes to settings from main process0neGal
If the main process has changes to the settings, said settings will now also be sent to the renderer, making them synchronized.
2023-09-13fixed gamepath only updating for the renderer0neGal
This would mean if the gamepath cant be found automatically you'll be asked to set your gamepath every time Viper starts, instead of it remembering it, and if it can find it automatically, then you'd never have known this was a problem (hence why this was even a problem)
2023-09-13use json.js for loading settings in the renderer0neGal
2023-08-26fixed mod browser thinking it's done loading pkgs0neGal
The mod browser before this pre-maturely thought it had loaded all the available packages, when in fact, it'd barely started. Now this is fixed, and you can scroll for quite some time before actually reaching the real end of the package list.
2023-08-26fixed edge case where packages.list() still broke0neGal
Oopsie woopsie, my badddd, so sowwieeee, i wwwont doww it agaainnn!
2023-08-21properly detect outdated and up-to-date packages0neGal
2023-08-21properly detect installed packages in mod browser0neGal
This doesn't break the old way of detecting things, for various reasons, but notably it'd cause more harm than good. As we still need to be able to detect packages that haven't been converted into the new location.
2023-08-20fixed packages.list() assuming packages dir exists0neGal
This generally is fine, as the folder is created on startup... IF Northstar is installed! And so, if you start Viper for the first time or Viper as only just extracted/created the R2Northstar folder, then the folder wont exist, but it'll simply assume as such. Now we actually handle this correctly.
2023-08-07fixed Northstar startup arguments not applying0neGal
2023-07-31accidentally wrote console.status instead of .info0neGal
2023-07-31remove "error:" from console errors0neGal
Now they simply have the red color instead.
2023-07-31window buttons are no longer hidden behind popups0neGal
2023-07-25fixed packages having a "v" in their version0neGal
This messed with how Northstar searches for packages, as it doesn't conform to it's standard.
2023-07-24Update maintainers.jsonXNovaDelta
2023-07-24Fixed formatting issue in the up-to-date console message.someordinaryidiot#
2023-07-24added default Northstar icon for core mods0neGal
2023-07-24fixed packages.js never requiring the lang module0neGal
whoopsie, i made an oopsie, doopsie doo, my bad uwu, im so sowwyyy, whoooppss, i caused an uncauwght exceptwion, ooowps ;w;
2023-07-24make sure profile exists, then create packages dirpackages-dir0neGal
If the gamepath isn't found or unmounted or similar, then the profile doesn't exist either, but we previously just assumed that it did, now we refuse to create the `packages` folder, fixing an error.
2023-07-24remove debug console.log()0neGal
2023-07-24largely improve how we convert mods to packages0neGal
Convert is a strong word, in reality, when a user installs (and thereby also updates) a package, we attempt to search for a mod that we can with pretty high confidence, we could theoretically make this even better, but at some point you'll accidentally delete mods that are manually installed and weren't actually the right ones.
2023-07-24properly detect if a package has mods0neGal
2023-07-24fixed updateable packages not being removeable0neGal
2023-07-24fixed updating not removing older packages0neGal
2023-07-24fixed removing mods breaking when reading manifest0neGal
2023-07-24cleanup leftover files when installing packages0neGal
2023-07-24use prettier console logging for packages.js0neGal
2023-07-24Merge branch 'main' into packages-dir0neGal
2023-07-24Merge branch 'main' into add-missing-localizations0neGal
2023-07-24German translation.Presti
2023-07-24German translation.Presti
2023-07-22translateRemy Raes
2023-07-22french tradsRemy Raes
2023-07-22colored console logging0neGal
Far prettier, and far more useful at a glance.
2023-07-21Add missing Spanish localizationsDelta
#193
2023-07-22added empty localization strings0neGal
2023-07-22Merge branch 'main' of https://github.com/0neGal/viper0neGal
2023-07-22minor changes to the styling0neGal
2023-07-21Added Spanish strings for plugin install promptDelta
#191
2023-07-22minor edits to the window decoration tooltips0neGal
2023-07-22added English strings for plugin install prompt0neGal
2023-07-22mostly support installing packages through GUI0neGal
Install toasts, installing overall, dependencies and so forth, all seem to be fully functional, however more bug testing is probably required to concluce whether that is actually the case or not... This also doesn't break `src/modules/mods.js`, i.e dragging mods in to manually install them still functions the same as always.
2023-07-22unify all mods of a package into one0neGal
This means instead of showing the invididual mods inside a package, we simply show 1 mod/package, we then use the name, description, version and so forth from the `manifest.json` inside the package folder. Further we now also support a local `icon.png` file, instead of relying on remotely stored icons and trying to match names against each other.
2023-07-21mods from packages can be removed in the frontend0neGal
I also love how I spent a very long time trying to figure out why Electron's serializer was failing, turns out, it just throws errors when it encounters functions, instead of stripping them out, like `JSON.stringify()` does Oh well...