From 0e27eb0e857e28c1404b48cd1b13969f66392102 Mon Sep 17 00:00:00 2001 From: Quentin DECAUNES Date: Mon, 11 Mar 2019 14:39:51 +0100 Subject: [PATCH] Updated readme for non-windows users. --- README.md | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 83 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3e98c0b..1b0b86d 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,61 @@ # Ryzen controller -Thanks to https://github.com/FlyGoat/RyzenAdj and his author, ryzenadj.exe is now included. -No more need for multiple download =D +- [Installation](#installation) + - [Windows](#windows) + - [Debian like](#debian-like) + - [Redhat like](#redhat-like) +- [Development](#development) + - [Pre-requisite](#pre-requisite) + - [Installation](#installation) + - [Building binaries](#building-binaries) + - [Using Windows](#using-windows) + - [Using Linux](#using-linux) + - [Building installers](#building-installers) + - [For Windows](#for-windows) + - [For Debian like](#for-debian-like) + - [For Redhat like](#for-redhat-like) -## For users +Thanks to https://github.com/FlyGoat/RyzenAdj and his author, ryzenadj.exe is included (windows only for now). -### Pre-requisite +## Installation + +### Windows - Go to [release page](https://gitlab.com/le.storm1er/ryzen-controller/releases) -- Download the latest RyzenControllerInstaller.exe +- Download the latest `RyzenControllerInstaller.exe` - Enjoy! -## For developpers +### Debian like + +- Go to [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) repo. +- Download and build as explained in [Build requirements](https://github.com/FlyGoat/RyzenAdj#build-requirements). +- Go to Ryzen Controller's [release page](https://gitlab.com/le.storm1er/ryzen-controller/releases) +- Download the latest `ryzencontroller_VERSION_ARCH.deb` file. +- `sudo dpkg -i ryzencontroller_VERSION_ARCH.deb` +- Launch with `sudo ryzencontroller` +- Set the path to your freshly builded `ryzenadj` binary into the "settings" tab. +- Enjoy! + +### Redhat like + +- Go to [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) repo. +- Download and build as explained in [Build requirements](https://github.com/FlyGoat/RyzenAdj#build-requirements). +- Go to Ryzen Controller's [release page](https://gitlab.com/le.storm1er/ryzen-controller/releases) +- Download the latest `ryzencontroller_VERSION_ARCH.rpm` file. +- `sudo rpm -u ryzencontroller_VERSION_ARCH.rpm` +- Launch with `sudo ryzencontroller` +- Set the path to your freshly builded `ryzenadj` binary into the "settings" tab. +- Enjoy! + +## Development ### Pre-requisite - NodeJS v10.15.1 or newer. +- About building dependencies: + - No dependencies for windows installer + - See [electron-installer-debian requirements](https://github.com/electron-userland/electron-installer-debian#requirements) + - See [electron-installer-redhat requirements](https://github.com/electron-userland/electron-installer-redhat#requirements) ### Installation @@ -25,9 +65,44 @@ $> npm install $> npm start ``` -### Build +### Building binaries + +#### Using Windows ```bash $> cd project -$> npm run-script build +$> npm run-script package-win32 +``` + +#### Using Linux + +```bash +$> cd project +$> npm run-script package-linux +``` + +### Building installers + +#### For Windows + +```bash +$> cd project +$> npm run-script package-win32 +$> npm run-script build-win32 +``` + +#### For Debian like + +```bash +$> cd project +$> npm run-script package-linux +$> npm run-script build-deb +``` + +#### For Redhat like + +```bash +$> cd project +$> npm run-script package-linux +$> npm run-script build-rpm ```