diff --git a/main.go b/main.go index 18f57c5e..d0341c5c 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,7 @@ import ( "github.com/wailsapp/wails/v2" "github.com/wailsapp/wails/v2/pkg/options" "github.com/wailsapp/wails/v2/pkg/options/assetserver" + "github.com/wailsapp/wails/v2/pkg/options/linux" "github.com/satisfactorymodding/SatisfactoryModManager/backend" "github.com/satisfactorymodding/SatisfactoryModManager/backend/app" @@ -35,6 +36,9 @@ import ( //go:embed all:frontend/build var assets embed.FS +//go:embed build/appicon.png +var iconBytes []byte + var ( version = "dev" commit = "unknown" @@ -145,6 +149,10 @@ func main() { backend.ProcessArguments(secondInstanceData.Args) }, }, + Linux: &linux.Options{ + Icon: iconBytes, + ProgramName: "Satisfactory Mod Manager", + }, OnStartup: func(ctx context.Context) { appCommon.AppContext = ctx