chore: update project title and fix icon installation path in desktop entry
Build and Upload Binaries / build-and-upload (push) Failing after 59s

This commit is contained in:
2026-06-09 13:10:18 +01:00
parent b641587a75
commit 29ebcdbe2f
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -53,9 +53,10 @@ func installLinux() {
}
// Write the application icon
iconDir := filepath.Join(home, ".local", "share", "icons", "hicolor", "512x512", "apps")
iconDir := filepath.Join(home, ".local", "share", "icons")
os.MkdirAll(iconDir, 0755)
os.WriteFile(filepath.Join(iconDir, "goexplore.png"), icon, 0644)
iconPath := filepath.Join(iconDir, "goexplore.png")
os.WriteFile(iconPath, icon, 0644)
// Write the desktop shortcut file
appDir := filepath.Join(home, ".local", "share", "applications")
@@ -63,10 +64,10 @@ func installLinux() {
desktopContent := fmt.Sprintf(`[Desktop Entry]
Name=GoExplore
Exec=%s
Icon=goexplore
Icon=%s
Type=Application
Terminal=false
Categories=Utility;FileTools;`, targetExe)
Categories=Utility;FileTools;`, targetExe, iconPath)
os.WriteFile(filepath.Join(appDir, "goexplore.desktop"), []byte(desktopContent), 0644)
// Execute the newly installed binary and exit the current running process
@@ -83,7 +84,7 @@ func main() {
// Create application with options
err := wails.Run(&options.App{
Title: "goexplore",
Title: "GoExplore",
Width: 1024,
Height: 768,
AssetServer: &assetserver.Options{
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "goexplore",
"name": "GoExplore",
"outputfilename": "goexplore",
"frontend:install": "npm install",
"frontend:build": "npm run build",