feat: optimize software installation on windows and add information splash screen on startup

This commit is contained in:
Patryk Hegenberg 2025-03-21 15:12:48 +01:00
parent 111756ffe5
commit d851c1b628
4 changed files with 50 additions and 12 deletions

View file

@ -126,7 +126,7 @@ func installWindowsDependencies(index int, cmd *exec.Cmd, mainWindow *fyne.Windo
switch index {
case 0: // VSCode
cmd = tools.CommandInShell("winget", "install", "-e", "--id",
"Microsoft.VisualStudioCode")
"Microsoft.VisualStudioCode", "--accept-package-agreements", "--accept-source-agreements", "--silent")
case 1: // Docker Desktop
wslCheckCmd := tools.CommandInShell("wsl", "--status")
err := wslCheckCmd.Run()
@ -154,7 +154,7 @@ func installWindowsDependencies(index int, cmd *exec.Cmd, mainWindow *fyne.Windo
return nil, err
}
cmd = tools.CommandInShell("winget", "install", "-e", "--id",
"Docker.DockerDesktop")
"Docker.DockerDesktop", "--accept-package-agreements", "--accept-source-agreements", "--silent")
}
return cmd, nil
}