aboutsummaryrefslogtreecommitdiff
path: root/src/app
AgeCommit message (Collapse)Author
2021-12-31fixed padding on welcome text and added <nobr>'s0neGal
2021-12-31Merge branch 'feat/version-indicator' of https://github.com/Alystrasz/viper ↵0neGal
into Alystrasz-feat/version-indicator
2021-12-30user-select: none, on element that need it0neGal
2021-12-30Merge branch 'main' into feat/version-indicator0neGal
2021-12-30buttons now disable when updating, and app logs0neGal
The buttons in the GUI disable whilst you're updating Northstar and potentionally doing other things in the future, I also added a way to log things in the app, albeit it just prints it in the "Welcome to Viper!" part of the app, which is just fine. I also added all the needed language strings for the GUI logs and removed "gui.missinggamepath" as we use it for both the CLI and GUI even tho "general.missinggamepath" exists, and so we now use the general one for both, as the messages are the same.
2021-12-30version now refreshes, fixed and renamed stuff0neGal
The version now refreshes when you update/install Northstar, I renamed vpVersion/nsVersion to just vpversion/nsversion and getInstalledVersion() to getNSVersion(), removed uses of getElementById() with just the ID. I also added English localization. The versions text color is now bound by a CSS variable (we may use it in the future again). I'm also not sure what the point of `style="white-space: nowrap;"` was, as I don't see much of a difference? Rather instead use `<nobr>` in the lang file if needed. Besides that I did tiny code cleanup.
2021-12-29replaced single quotes, renamed a few things0neGal
Simply code style changes, also removed the content of the version divs since they'll be replaced anyway.
2021-12-30[fix] displaying welcome message on one lineAlystrasz
2021-12-30Merge branch 'main' into feat/version-indicatorAlystrasz
2021-12-30[feat] displaying viper versionAlystrasz
2021-12-30[feat] displaying installed northstar versionAlystrasz
2021-12-30[feat] adding div ids to version indicatorsAlystrasz
2021-12-29fix incorrect padding0neGal
2021-12-29make sure <nobr> doesn't get deprecated0neGal
2021-12-29proper responsiveness for all languages0neGal
This should more or less ensure everything remains responsive even if the language is one with very long strings.
2021-12-29[feat] adding version indicators on the UIAlystrasz
2021-12-29uses navigator.language to determine language0neGal
2021-12-28attempt at making localization0neGal
This may or may not be how we actually do localization in the future, however for now this seems doable. I will obviously need to look at how we detect the language, as I think instead of relying on names like "en-US" just have "en", so we don't have to symlink various editions of English to the same file. But for now this is a draft, and the important part of this is rather how the underlying localization works.
2021-12-28removed settings.file0neGal
We now just use a fixed string ("viper.json")
2021-12-28you can now exclude certain files like, ns_args0neGal
However, I can't figure out a way to directly exclude it in the unzip package, hence, it just renames the original to "<file>.excluded" when the extraction is done it then renames it back to it's original aka "<file>", overwriting what was extracted, which essentially excludes some files. If there exists an unzip library/package that has options for excluding files we should move to that, but until something as such is found the current way is how we'll do it.
2021-12-27added light mode, the superior mode0neGal
This uses your system appearance to figure out which one to use. Meaning the people with dark mode enabled on Windows or through their GTK/QT theme will still see dark mode...
2021-12-27added roboto font locally0neGal
This means systems (like most Windows installs) that don't have the font can still be allowed to see it in all it's glory.
2021-12-27made the app prettier on windows0neGal
I removed the titlebar, which I already had gone on my Linux system, besides that I also made it so the body of Viper can be held down to drag it around. And then added an exit button.
2021-12-27fixed settings being saved improperly0neGal
Im a dumbass and made a tiny mistake...
2021-12-27this might add launch options? maybe?0neGal
I haven't tested this on Windows... And I will in a bit...
2021-12-27changed how settings are loaded/saved0neGal
2021-12-26the renderer is no longer required for updating0neGal
Everything is now in utils.js and simply gets called through IPC calls which make it quite simple to add CLI arguments...
2021-12-26you can now set the game path in the UI0neGal
2021-12-25basic updater/installer is now working0neGal
2021-12-25pretty hover animations0neGal
2021-12-25basic frontend0neGal