go app fixes
This commit is contained in:
8
.claude/settings.local.json
Normal file
8
.claude/settings.local.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"WebFetch(domain:github.com)",
|
||||
"WebSearch"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ module hampack-manager
|
||||
go 1.22
|
||||
|
||||
require (
|
||||
github.com/diamondburned/gotk4-adw v0.0.0-20240804043422-6b76e90f99ef
|
||||
github.com/diamondburned/gotk4/pkg/core v0.3.1
|
||||
github.com/diamondburned/gotk4-adwaita/pkg v0.0.0-20250703085708-8e7f01e2c815
|
||||
github.com/diamondburned/gotk4/pkg v0.3.2-0.20250703063411-16654385f59a
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/diamondburned/gotk4-adw/pkg/adw"
|
||||
"github.com/diamondburned/gotk4-adwaita/pkg/adw"
|
||||
"github.com/diamondburned/gotk4/pkg/glib/v2"
|
||||
"github.com/diamondburned/gotk4/pkg/gtk/v4"
|
||||
)
|
||||
|
||||
@@ -77,6 +77,14 @@ echo "Installing dx.py..."
|
||||
wget -q https://raw.githubusercontent.com/HB9VQQ/dx.py/main/dx.py -O "$HOME/.local/bin/dx.py"
|
||||
chmod +x "$HOME/.local/bin/dx.py"
|
||||
|
||||
echo "Building HamPack Manager..."
|
||||
cd ~/.local/share/HamPack/hampack-manager-src
|
||||
go get github.com/diamondburned/gotk4-adwaita/pkg/adw@latest
|
||||
go get github.com/diamondburned/gotk4/pkg/gtk/v4@latest
|
||||
go mod tidy
|
||||
go build -o ~/.local/bin/hampack-manager .
|
||||
cd ~/.local/share/HamPack
|
||||
|
||||
sudo rm /etc/sudoers.d/hampack
|
||||
|
||||
echo "HamPack is installed. You may want to restart existing applications when convenient."
|
||||
Reference in New Issue
Block a user