diff options
author | 0neGal <mail@0negal.com> | 2022-01-08 02:30:08 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-01-08 02:30:08 +0100 |
commit | 8e5fc1f8dad7580297648d2b2f817ea9ff9adcf0 (patch) | |
tree | eedb6429f6aaf386edb4913e7ffbcfdf5ccf7f3c | |
parent | 31bd305d88409e70d3fabc41026fef572099163e (diff) | |
download | Viper-8e5fc1f8dad7580297648d2b2f817ea9ff9adcf0.tar.gz Viper-8e5fc1f8dad7580297648d2b2f817ea9ff9adcf0.zip |
fixed/changed the README drastically
I somehow completely forgot to remove the "coming soon" parts for
auto-updating and official releases and download pages, that's now
fixed. And since we have that I also moved and changed some text in the
"How to run" section renaming it to "Development"
Besides that I added Viper's logo along with a link to the projects page
for a nice overview and releases page, even tho it is in fact in the
sidebar, you may miss it somehow.
Given I've removed the application preview we no longer have to keep
updating it everytime some change, changes how the app looks on startup.
Overall much needed changes to the README.
-rw-r--r-- | README.md | 54 | ||||
-rw-r--r-- | assets/preview.png | bin | 18511 -> 0 bytes |
2 files changed, 30 insertions, 24 deletions
@@ -1,33 +1,15 @@ -## What is Viper? - -Viper is a launcher and updater for [Northstar](https://github.com/R2Northstar/Northstar), and not much more than that. - <p align="center"> - <img src="assets/preview.png"> -</p> - -## How to? - -Currently Viper is in a state where I dont have release builds ready for people to download, instead if you really do wanna play with it, you can run it with Node... Simply do as follows: - -```sh -$ git clone https://github.com/0neGal/viper + <img src="src/assets/icons/512x512.png" width="200px"><br><br> + <a href="https://github.com/0neGal/viper/projects/1">Overview</a> | + <a href="https://github.com/0neGal/viper/issues">Releases</a> +</p><br><br> -$ cd viper - -$ npm i - -$ npm run start -``` - -This'll launch it with the Electron build installed by `npm`. +## What is Viper? -Additionally, if you really want to, you can build Viper with `npm run build` and it'll then build the Windows installer and AppImage, however the whole build process and everything related to it is still being worked on which is why we don't have official releases yet. +Viper is a launcher and updater for [Northstar](https://github.com/R2Northstar/Northstar), and not much more than that. ## Install -(this will be relevant once we start to publish releases) - Downloads are available on the [releases page](https://github.com/0neGal/viper/releases/latest). Please note that some versions will update themselves automatically when a new release is available (just like Origin or Steam) and some will NOT, so choose it accordingly. Only the AppImage and Windows Setup/Installer can auto-update. @@ -69,6 +51,30 @@ Some of the existing launchers are listed below: * [laundmo's updater](https://github.com/laundmo/northstar-updater) - another CLI only updater * [Juicy's mod manager](https://github.com/BigSpice/NorthStar-Mod-Manager-Ext-1) - an updater and manager for mods, most feature rich +## Development + +If you wanna edit Viper's code and run it and so on, you can simply do something along the lines of the below: + +```sh +$ git clone https://github.com/0neGal/viper + +$ cd viper + +$ npm i + +$ npm run start +``` + +This'll launch it with the Electron build installed by `npm`. + +Additionally, if you're creating your own fork you easily publish builds and or make builds with either `npm run publish` or `npm run build` respectively, the prior requiring a `$GH_TOKEN` to be set, as it creates the release itself so it needs a token with access to your repo. So you'd do something along the lines of: + +```sh +$ GH_TOKEN="<your very long, private and wonderful token>" npm run publish +``` + +Keep in mind building all Linux builds may take a while on some systems as packaging the `tar.gz` release can take a while on many CPU's, at least from my testing. All other builds should be done quickly. When using the `publish` command it also automatically uploads the needed files to deploy auto-updates, keep in mind you'd need to have the `repository` setting changed to your new fork's location, otherwise it'll fetch from the original. + ## Credits All credits for logos go to Imply#9781. diff --git a/assets/preview.png b/assets/preview.png Binary files differdeleted file mode 100644 index 33a0586..0000000 --- a/assets/preview.png +++ /dev/null |