This commit is contained in:
2025-05-24 21:02:52 -05:00
parent a986efc7f1
commit b5dc0c37f6
2 changed files with 4 additions and 5 deletions

View File

@@ -15,7 +15,6 @@ import (
"github.com/dhowden/tag"
"github.com/joho/godotenv"
// _ "github.com/joho/godotenv/autoload"
)
type DownloadDirectoryComplete struct {
@@ -48,7 +47,7 @@ func mainErr() error {
return errors.New("missing data argument")
}
if err := godotenv.Load(); err != nil {
if err := godotenv.Load(path.Join(os.Args[0], "music-rename.env")); err != nil {
return err
}