diff --git a/util/util_unix.go b/downloadsdir_unix.go similarity index 88% rename from util/util_unix.go rename to downloadsdir_unix.go index abcc790..46a1352 100644 --- a/util/util_unix.go +++ b/downloadsdir_unix.go @@ -1,6 +1,6 @@ -// +build darwin linux +// +build !windows -package util +package main import ( "os/user" diff --git a/util/util_windows.go b/downloadsdir_windows.go similarity index 96% rename from util/util_windows.go rename to downloadsdir_windows.go index 288905a..568908f 100644 --- a/util/util_windows.go +++ b/downloadsdir_windows.go @@ -1,4 +1,4 @@ -package util +package main import ( "os/user" diff --git a/main.go b/main.go index 263734b..6a458da 100644 --- a/main.go +++ b/main.go @@ -51,8 +51,6 @@ import ( "github.com/iawia002/annie/extractors/youku" "github.com/iawia002/annie/extractors/youtube" "github.com/iawia002/annie/utils" - - "github.com/fanaticscripter/annie-mingui/util" ) const appName = "annie-mingui"