aboutsummaryrefslogtreecommitdiff
path: root/src/cli.js
AgeCommit message (Collapse)Author
2023-01-12rename: --debug to --devtools0neGal
2022-09-14differentiation between update() and updatevp()0neGal
Some functions have been renamed: update() -> updateNorthstar() updatevp() -> updateViper() Overall these are far better function names...
2022-05-03fixed cli arguments dependant on the gamepath0neGal
Due to me being bad at touching the computer I messed up here.
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-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-01-17documented: index.js, cli.js, lang.js app/lang.js0neGal
2022-01-08added cli arguments for mods0neGal
This adds both the arguments themselves, but also their entries in the man page and help page.
2022-01-02Merge branch 'main' of 0neGal/viper into mod-support0neGal
2022-01-01chore: Auto updating (#16)Rémy Raes
* [chore] adding electron-updater dependency * [feat] adding auto-updating mechanism * [chore] setting package version to v0.8.0 * [fix] restoring original repo URL * [docs] adding some documentation about publishing new releases * [chore] adding publish:windows command * [docs] updating publish instructions with new publish command * [chore] adding publish:linux command * [docs] updating publish instructions * --updatevp, and option to disable auto updates If you want you can set "autoupdates" to false in your config, no GUI tools to do this yet. For the CLI auto updates is off by default and you'll have to use --updatevp. I also removed the snap package, tho whether this stays as a change is still to be discussed. And with the new option I updated the help menu, the man page and everything along else that needs it. * removed "soon" parts of README for auto-updates * [feat] adding French translation for cli.help.updatevp key * confirmation for restarting the app Now instead of automatically updating and restarting the app, which may be slightly confusing to some users, (the app opens then closes and then opens), it now asks whether you want to restart and open the new version. If you say no, instead next time you launch it, it'll be on the new version. If you want to completely disable updates you can disable it in the viper.json file... * [feat] adding French translation for gui.update.available key * added configuration instruction in README Co-authored-by: 0neGal <mail@0negal.com>
2021-12-31Merge branch 'main' of 0neGal/viper into mod-support0neGal
2021-12-30first-ish draft of the mod UI and utils0neGal
2021-12-30added northstar version to --version0neGal
2021-12-30added --version argument0neGal
This will need to be remade once #10 is merged, as to include the installed Northstar version.
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-27added --debug0neGal
This means devtools don't get opened no matter what and --debug is required for it to open.
2021-12-27this might add launch options? maybe?0neGal
I haven't tested this on Windows... And I will in a bit...
2021-12-27added working cli arguments0neGal
I think?