Skip to content

Commit c6f02be

Browse files
author
jld3103
authored
Hotfix run executable name (#118)
1 parent 788eec5 commit c6f02be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var runCmd = &cobra.Command{
9191
}
9292

9393
func runAndAttach(projectName string, targetOS string) {
94-
cmdApp := exec.Command(dotSlash + filepath.Join(build.BuildPath, "build", "outputs", targetOS, projectName))
94+
cmdApp := exec.Command(dotSlash + filepath.Join(build.BuildPath, "build", "outputs", targetOS, config.GetConfig().GetExecutableName(projectName)))
9595
cmdApp.Env = append(os.Environ(),
9696
"GOFLUTTER_ROUTE="+runInitialRoute)
9797
cmdFlutterAttach := exec.Command("flutter", "attach")

0 commit comments

Comments
 (0)