Skip to content

Commit e02261d

Browse files
committed
Below:
* Fix: Incorrect 'const' declaration * Change from 'apt' to 'apt-get' in go.yml GitHub Actions Workflow
1 parent 41b3a9f commit e02261d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
uses: actions/configure-pages@v5
3838
- name: Prepare dependencies
3939
run: |
40-
sudo apt update
41-
sudo apt install build-essential pkg-config libgl1-mesa-dev mesa-common-dev xorg-dev # add 'libglu1-mesa-dev freeglut3-dev' if needed
40+
sudo apt-get update
41+
sudo apt-get install build-essential pkg-config libgl1-mesa-dev mesa-common-dev xorg-dev # add 'libglu1-mesa-dev freeglut3-dev' if needed
4242
go mod tidy # Ensures all required dependencies are installed
4343
echo "All required dependencies are installed"
4444
- name: Build undervolt-go
@@ -73,8 +73,8 @@ jobs:
7373
- name: Output the files structure into a JSON file
7474
run: |
7575
# GitHub Actions' ubuntu-latest comes preinstalled with tree. So no need to install tree.
76-
#sudo apt update
77-
#sudo apt install -y tree
76+
#sudo apt-get update
77+
#sudo apt-get install -y tree
7878
tree -J public > files.json
7979
cp -r files.json ./public/
8080
echo "JSON Manifest generated with the directory structure!"

gui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
)
3131

3232
// Used in main.go by rootCmd
33-
const rootCmdUseString := "undervolt-go-pro"
33+
const rootCmdUseString = "undervolt-go-pro"
3434

3535
func runGUI() {
3636
a := app.NewWithID("com.softorage.undervolt-go")

nogui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ package main
1313
import "fmt"
1414

1515
// Used in main.go by rootCmd
16-
const rootCmdUseString := "undervolt-go"
16+
const rootCmdUseString = "undervolt-go"
1717

1818
func runGUI() {
1919
fmt.Println("Run 'undervolt-go --help' for information about CLI flags. To get the GUI, get the GUI binary from https://softorage.github.io/undervolt-go/")

0 commit comments

Comments
 (0)