ryzen-controller/README.md

109 lines
2.8 KiB
Markdown
Raw Normal View History

2019-02-28 05:12:54 +07:00
# Ryzen controller
2019-02-27 02:06:13 +07:00
2019-03-11 20:39:51 +07:00
- [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)
2019-03-02 00:00:04 +07:00
2019-03-11 20:39:51 +07:00
Thanks to https://github.com/FlyGoat/RyzenAdj and his author, ryzenadj.exe is included (windows only for now).
2019-02-27 02:06:13 +07:00
2019-03-11 20:39:51 +07:00
## Installation
### Windows
2019-02-27 02:06:13 +07:00
2019-03-04 18:32:08 +07:00
- Go to [release page](https://gitlab.com/le.storm1er/ryzen-controller/releases)
2019-03-11 20:39:51 +07:00
- Download the latest `RyzenControllerInstaller.exe`
- Enjoy!
### 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.
2019-02-28 14:11:03 +07:00
- Enjoy!
2019-02-27 02:06:13 +07:00
2019-03-11 20:39:51 +07:00
## Development
2019-02-27 02:06:13 +07:00
2019-02-28 05:12:54 +07:00
### Pre-requisite
2019-02-27 02:06:13 +07:00
2019-02-28 05:12:54 +07:00
- NodeJS v10.15.1 or newer.
2019-03-11 20:39:51 +07:00
- 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)
2019-02-27 02:06:13 +07:00
2019-02-28 05:12:54 +07:00
### Installation
2019-02-27 02:06:13 +07:00
```bash
2019-02-28 05:12:54 +07:00
$> cd project
$> npm install
$> npm start
2019-02-27 02:06:13 +07:00
```
2019-03-11 20:39:51 +07:00
### Building binaries
#### Using Windows
```bash
$> cd project
$> 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
2019-02-27 02:06:13 +07:00
2019-02-28 05:12:54 +07:00
```bash
$> cd project
2019-03-11 20:39:51 +07:00
$> npm run-script package-linux
$> npm run-script build-rpm
2019-02-28 05:12:54 +07:00
```