You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ A graphical user interface for configuring GPU related environment variables and
58
58
- Options for the program itself
59
59
- Create or Delete Profiles, all of them with its own settings, witch you can apply trough the program or systray.
60
60
61
-
## Build Requirements:
61
+
## Build/Test Requirements:
62
62
63
63
- Python 3.9 or higher
64
64
- Pip
@@ -100,7 +100,7 @@ If this software is not provided, its options will be locked.
100
100
```
101
101
This will:
102
102
- Copy the executable to `/usr/local/bin/`
103
-
- Copy the helper scripts to `/usr/local/bin/`
103
+
- Copy the `volt-helper` script to `/usr/local/bin/`
104
104
- Create a desktop entry at `/usr/share/applications/volt-gui.desktop`
105
105
106
106
### Removal:
@@ -110,10 +110,26 @@ If this software is not provided, its options will be locked.
110
110
```
111
111
This will:
112
112
- Remove the `volt-gui` executable from `/usr/local/bin/`
113
-
- Remove the helper scripts from `/usr/local/bin/`
113
+
- Remove the `volt-helper` script from `/usr/local/bin/`
114
114
- Remove the `volt` bash script from `/usr/local/bin/`
115
115
- Remove the desktop entry `/usr/share/applications/volt-gui.desktop`
116
116
117
+
## Testing volt-gui:
118
+
In the case you want to contribute to the project you can use the provided `test.sh` script to test the changes you made. This script will create a Python virtual environment if one does not already exist. This way, you don't have to install the program dependencies systemwide.
119
+
120
+
The first time you run it, use the -c flag that will also copy the `volt-helper` to `/usr/local/bin/`, as the program requires it for appliying the settings:
121
+
```
122
+
./test.sh -c
123
+
```
124
+
125
+
After this unless you make changes to the `volt-helper`, or the script have been updated, just run it without the flag to avoid unnecessary overwrites of the script:
126
+
```
127
+
./test.sh
128
+
```
129
+
130
+
> [!NOTE]
131
+
> You can use the `remove.sh` script to remove the `volt-helper`. The `py_env` folder should be deleted in the case you created it with your system python, and you want to use a python version that its inside a `distrobox` box, or vice versa.
132
+
117
133
## How to use `volt-gui`:
118
134
119
135
Simply launch volt-gui from your application menu or run `volt-gui` from the terminal.
0 commit comments