aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-05-12initial draft for supporting dependencies0neGal
This should allow you to install packages that have dependencies, however maybe not with the best UI/UX experience, as currently there's only an English localization, and we also install dependencies even if the dependency is already installed.
2022-05-03added missing strings for general.invalidconfigv1.4.00neGal
2022-05-03fixed various errors when reading modfile0neGal
2022-05-03re-implements user links in release notes (#88)0neGal
Instead of updating the branch it was easier to simply add this, I don't plan to add the issue/PR support, as it's complicated with no real benefit, as NS seems to already link the PR's themselves.
2022-05-03fixes markdown not rendering properly (#108)0neGal
Simplifies the parsing of Markdown, whilst also solving problems that the previous parser for Markdown caused.
2022-05-03Merge branch 'main' into enabledmods0neGal
2022-05-03fixed cli arguments dependant on the gamepath0neGal
Due to me being bad at touching the computer I messed up here.
2022-05-03hopefully fully implement everything?? i think?0neGal
Everything seems to be working just fine, and I can't find any problems, so I'll likely merge this soon.
2022-05-03simplified get() and made list() used get()0neGal
Instead of repeating code and everything, get() now only returns a boolean, based on the arg inputted into get(mod), it returns true if the mod is enabled and false if disabled. If the mod isn't found inside the enabledmods.json it is assumed that it's enabled, as Northstar doesn't update this unless you actually disable the mod first, and the mod won't be found in there. Then I used get() to simplify list() a whole lot, and adding that functionality of using the manifest for a version number if one couldn't be found in the mod.json.
2022-05-03modfile. enable(), disable() and toggle() now work0neGal
2022-05-02mods.modfile().get() is identical to mods.list()0neGal
Albeit mods.list() doesn't actually search the manifest file for a version number, and I'll implement that later.
2022-05-02Merge branch 'main' into enabledmods0neGal
2022-04-28removed: unused lang string0neGal
This was meant to be used for the reset config prompt, but confirm() doesn't allow you to change the button messages, which I forgot when I was making this lang string, and subsequently lead to me forgetting I even made the string, accidentally pushing it...
2022-04-28added: error if config file isn't valid0neGal
Essentially just validates the config file and then prompts you about it, it allows you to reset it directly or just to exit and let yourself fix it. And because the error message appears directly in the renderer we have access to navigator.language, and can therefore still localize the string. However! We can't actually care if the user has disabled auto detection of their language, since... y'know, the config file where that's stored isn't able to be read properly. And so I added an argument to lang(), which allows you to force it to use a specific language if that language is available, if not it defaults back to English.
2022-04-24more minor improvements to the UI0neGal
sped up some animations, added a few more colors to different places, overall just a slight spice up to the UI
2022-04-24tiny improvements to the look of the mod browser0neGal
Veeeerrryyy tiny improvements: - titles are now in bold - reduced the padding between version and author text - slight blur to images has been added, which looks nice - the large margin between the close and filter button is now fixed
2022-04-23prereleases no longer show up in the release notes0neGal
2022-04-17fixed gamepathlost errors on first launchlinux-launch-testing0neGal
Because viper.json doesn't exist it also means settings.gamepath is null, which triggers the gamepathlost message.
2022-04-17fixed issue causing viper not open the GUI0neGal
I don't really understand why or how anything broke, all I know is this fixes it, and I don't know how to feel about this madness.
2022-04-17changing the language now disables autolang0neGal
This is for the sake of UX, as a user might be confused about why it doesn't work as they may not notice that they've to turn off auto-detect language first. Because of this Settings.switch() now has a state value, and if you provide a DOM element as the element arg it now uses that to know what to toggle, before we used to just provide a number, which made sense for generating the onclick events, but not for this task... This whole thing was brought up because of #115
2022-04-16More contact methods for es.json maintainerDelta
2022-04-16New Spanish strings (#113)Delta
* New Spanish strings #111 * Update es.json Correction
2022-04-16feat: French translations (#112)Rémy Raes
* [feat] add missing French translation keys * missing french translations
2022-04-13fixed --update not exiting if already on latest0neGal
2022-04-13check to make sure gamepath exists0neGal
When Viper starts up it'll check to make sure the gamepath still exists, and throws errors if not, it also redirects you to the first page (the one where you can set the gamepath), and gives you an informative error. This could happen because the user unmounted the drive the gamepath is on, or it could happen if the user moved their game location.
2022-04-13fixed: console logs not parsed through lang()0neGal
I've known about this bug for a bit but haven't been bothered to fix it, essentially a language key was being logged instead of the string attached to that key :p
2022-04-13the user can now manually select a language0neGal
This allows someone to have their system in any language, and then have Viper in a separate language. This is also useful for testing.
2022-04-01Merge pull request #98 from 0neGal/vdf-flatpak-support0neGal
bug: VDF not working on Flatpak Steam
2022-03-28feat: Add missing Spanish translation keys (#107)Delta
2022-03-27[feat] add missing French translation keys (#106)Rémy Raes
2022-03-26added tiny checkmark to filter selection0neGal
Slightly better UX I guess?
2022-03-26fixed error and removed browser on startup0neGal
For testing purposes I had the mod browser auto show on startup, that's removed now, I also when refactoring some code forgot to change the name of a function everywhere, leading to an error.
2022-03-26added filters0neGal
Fully implemented (I think? Maybe there's an edge case?), albeit it's missing "Updateable" and "Installed" filters, but they'll be added later
2022-03-24support for multiple VDF files0neGal
2022-03-24removed excess debug console.log()0neGal
I forgot about this when merging the VDF fix
2022-03-24added --no-vp-updates0neGal
This overwrites viper.json and disables Viper updates, this is useful when repackaging Viper for other formats we don't already support.
2022-03-22added support for VDF flatpak reading0neGal
Flatpak Steam has it's libraryfolders.vdf in a different location. This checks should make it check for both.
2022-03-22fix: VDF path searching not working on SteamDeck (#97)0neGal
* added debug messages * more debug logging * even more debug logging * removed debugging and fixed VDF problem maybe? Apparently the libraryfolders.vdf doesn't always come with the same values, sometimes it comes with the contentstatsid variable and other times not, we assumed it always was there, and never checked for it, this caused problems if it wasn't there. This should fix that...
2022-03-22fixed potential edge case0neGal
If a mod has the name of an already existing element some issues may arise... So now we have all mod elements prefixed with "mod-" and we also only search for elements inside #browserEntries, that should avoid all issues...
2022-03-10fixed toast errors having no background color0neGal
2022-03-10fix nsargs being cleared when edited out of Viper (#93)0neGal
If the nsargs are edited by a third-party program or anything that isn't Viper, the next time you launch Viper it'll reset the nsargs back to what it was when you last opened it.
2022-03-02made the Northstar page the startup page0neGal
Some users got confused about the "Change Game Path" label on the startup page, thinking it was Viper asking the user to change the path, to clear up that confusion we now just don't show that page on startup.
2022-02-25[feat] french settings translationsRemy Raes
2022-02-24feat: Settings page: add "es" localization Delta
#85
2022-02-24localized all strings0neGal
I localized all strings for English, then went ahead and made array options have a wider input and more word spacing, since they're all space separated.
2022-02-24fixed NS never being auto-updated and more0neGal
When #87 was merged an unnoticed problem slipped in where if Viper was running in a version that did not support auto-updates we would never auto-update Northstar. Now that's fixed, and the nsupdate option is completely implemented. I also took the liberty of removing the auto-update option in the settings page if Viper can't auto-update anyway, as it's useless if that's not possible.
2022-02-23implement ability to disable NS auto-updates0neGal
Albeit with some caveats, due to the way electron-updater is setup, if you're not on a version of Viper which supports auto-updates the event which runs the NS Updater code will never be run, and hence it'll never auto-update. This was also an issue before, but I only noticed it now.
2022-02-23Merge 0neGal/viper into settings-page0neGal
2022-02-23settings page is now fully functional0neGal
It actually saves settings, loads them properly and everything...
2022-02-21Merge pull request #84 from Alystrasz/refactor/i18n0neGal
refactor: i18n