diff --git a/cmd/vinegar/binary.go b/cmd/vinegar/binary.go index 0c71546d..38bf8738 100644 --- a/cmd/vinegar/binary.go +++ b/cmd/vinegar/binary.go @@ -23,7 +23,6 @@ import ( boot "github.com/vinegarhq/vinegar/roblox/bootstrapper" "github.com/vinegarhq/vinegar/splash" "github.com/vinegarhq/vinegar/sysinfo" - "github.com/vinegarhq/vinegar/util" "github.com/vinegarhq/vinegar/wine" ) @@ -275,7 +274,7 @@ func (b *Binary) Run(args ...string) error { // may or may not prevent a race condition in procfs syscall.Sync() - if util.CommFound("Roblox") { + if CommFound("Roblox") { log.Println("Another Roblox instance is already running, not killing wineprefix") return nil } diff --git a/util/proc.go b/cmd/vinegar/proc_linux.go similarity index 97% rename from util/proc.go rename to cmd/vinegar/proc_linux.go index 767045f3..cb786314 100644 --- a/util/proc.go +++ b/cmd/vinegar/proc_linux.go @@ -1,6 +1,6 @@ //go:build linux -package util +package main import ( "os"