From 1c6148f47ff727e3124ecab3df8ea46448a8026e Mon Sep 17 00:00:00 2001 From: Daniel Putzer Date: Mon, 7 Mar 2022 10:02:54 +0100 Subject: [PATCH] fix: Solve graph module extension issue on Windows --- app/pkg/install/components/GraphModule.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/pkg/install/components/GraphModule.go b/app/pkg/install/components/GraphModule.go index 56bace5..cc29707 100644 --- a/app/pkg/install/components/GraphModule.go +++ b/app/pkg/install/components/GraphModule.go @@ -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