Skip to content

Commit

Permalink
updated build script output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
evanhyd committed Oct 21, 2023
1 parent e4a17d6 commit 0d08b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func main() {

switch platform {
case "windows":
runCmdWithDir("source", "go", "build", "-ldflags", "-H=windowsgui", "-o", "meowyplayer.exe", "main.go")
runCmdWithDir("source", "go", "build", "-ldflags", "-H=windowsgui", "-o", filepath.Join("..", "meowyplayer.exe"), "main.go")
case "linux", "darwin":
runCmdWithDir("source", "go", "build", "-o", "meowyplayer", "main.go")
runCmdWithDir("source", "go", "build", "-o", filepath.Join("..", "meowyplayer"), "main.go")
default:
panic("unknown platform")
}
Expand Down

0 comments on commit 0d08b34

Please sign in to comment.