Skip to content

Commit

Permalink
fix: Solve graph module extension issue on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DanThePutzer committed Mar 7, 2022
1 parent 7d62972 commit 1c6148f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/pkg/install/components/GraphModule.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ func GraphModule() {

// Generate install path
installPath := filepath.Join(auxiliary.StateInstance.BinPath, "pluralith-cli-graphing")
if runtime.GOOS == "windows" {
installPath = installPath + ".exe"
}

// Get current version
var currentVersion string
Expand Down

0 comments on commit 1c6148f

Please sign in to comment.