-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU name selection, default config creation
- Loading branch information
Showing
4 changed files
with
61 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
# <p align="center">PC Stats<br><img src="https://aetherclient.com/uploads/imf44/2a8cfc720a.png"></p> | ||
|
||
# 📄 Config | ||
You need to place `config.json` in the same directory as the jar.<br> | ||
This is an example config, you can use it if you want: | ||
``` | ||
{ | ||
"appId": "995501904685715476", | ||
"smallImage": "https://aetherclient.com/images/gato.png", | ||
"largeImage": "https://c.tenor.com/hEwfEcj2R60AAAAd/laptop-smoking.gif", | ||
"showPCActiveTime": false | ||
} | ||
``` | ||
|
||
# 🟢 Usage | ||
Either build it yourself or go to [releases](https://github.com/imAETHER/PCStats/releases) and download it. | ||
|
||
This project uses OSHI to get processor temperatures, OSHI uses [OpenHardwareMonitor](https://github.com/openhardwaremonitor/openhardwaremonitor) to get these, download and run it in the background while you use the RPC to get accurate readings.<br> | ||
This project uses OSHI to get processor temperatures, OSHI uses [OpenHardwareMonitor](https://openhardwaremonitor.org/) to get these, download and run it in the background while you use the RPC to get accurate readings.<br> | ||
|
||
- Place the jar in a folder | ||
- Open CMD/Windows Terminal(looks better) and execute the jar with the command: | ||
`java -jar PCStats.jar` | ||
- It will automatically create config.json in the current directory and will ask you which gpu you want to use **(for the display name only)** | ||
- Will auto save the config when you close the program by doing CTRL + C | ||
- You can manually edit the config to change selected gpu, show uptime and change the RPC images/gifs | ||
|
||
# 💻 Supported platforms | ||
All platforms since its java & its using OSHI (haven't tested tho), for now GPU usage and temperature only works with NVIDIA gpus that have nvidia-smi. | ||
All platforms since its java & its using OSHI (haven't tested tho), for now GPU usage and temperature **only works with NVIDIA gpus that have nvidia-smi**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"appId": "995501904685715476", | ||
"smallImage": "https://aetherclient.com/images/gato.png", | ||
"largeImage": "https://c.tenor.com/hEwfEcj2R60AAAAd/laptop-smoking.gif", | ||
"showPCActiveTime": false, | ||
"gpuId": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters