Skip to content

Commit

Permalink
cmd/vinegar: drop install-webview2 command
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Nov 29, 2023
1 parent f359d9c commit bcee388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
8 changes: 2 additions & 6 deletions cmd/vinegar/vinegar.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
func usage() {
fmt.Fprintln(os.Stderr, "usage: vinegar [-config filepath] player|studio [args...]")
fmt.Fprintln(os.Stderr, " vinegar [-config filepath] exec prog args...")
fmt.Fprintln(os.Stderr, " vinegar [-config filepath] kill|install-webview2|winetricks|sysinfo")
fmt.Fprintln(os.Stderr, " vinegar [-config filepath] kill|winetricks|sysinfo")
fmt.Fprintln(os.Stderr, " vinegar delete|edit|uninstall|version")
os.Exit(1)
}
Expand Down Expand Up @@ -59,7 +59,7 @@ func main() {
}
// These commands (except player & studio) don't require a configuration,
// but they require a wineprefix, hence wineroot of configuration is required.
case "sysinfo", "player", "studio", "exec", "kill", "install-webview2", "winetricks":
case "sysinfo", "player", "studio", "exec", "kill", "winetricks":
cfg, err := config.Load(*configPath)
if err != nil {
log.Fatal(err)
Expand All @@ -85,10 +85,6 @@ func main() {
}
case "kill":
pfx.Kill()
case "install-webview2":
if err := InstallWebview2(&pfx); err != nil {
log.Fatal(err)
}
case "winetricks":
if err := pfx.Winetricks(); err != nil {
log.Fatal(err)
Expand Down
28 changes: 0 additions & 28 deletions cmd/vinegar/webview2.go

This file was deleted.

0 comments on commit bcee388

Please sign in to comment.