diff --git a/README.md b/README.md index 65411771..39fc57eb 100644 --- a/README.md +++ b/README.md @@ -87,12 +87,12 @@ To create a standalone debug build run this command: hover build ``` -The output will be in `desktop/build/outputs/linux` or windows or darwin depending on your OS. Hover does not yet support cross-compilation. +The output will be in `build/desktop/linux` or windows or darwin depending on your OS. Hover does not yet support cross-compilation. To start the binary: (replace `yourApplicationName` with your app name) ```bash -./desktop/build/outputs/linux/yourApplicationName +./build/desktop/linux/yourApplicationName ``` It's possible to zip the whole dir `desktop/build/outputs/linux` and ship it to a different machine. diff --git a/cmd/build.go b/cmd/build.go index b4e3ae77..08500c2b 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -50,7 +50,7 @@ var buildCmd = &cobra.Command{ } func build(projectName string, targetOS string, vmArguments []string) { - outputDirectoryPath, err := filepath.Abs(filepath.Join("desktop", "build", "outputs", targetOS)) + outputDirectoryPath, err := filepath.Abs(filepath.Join("build", "desktop", targetOS)) if err != nil { fmt.Printf("hover: Failed to resolve absolute path for output directory: %v\n", err) os.Exit(1)