From 881abc117578e0b568ad93042c1f6e77da88c823 Mon Sep 17 00:00:00 2001 From: Alexander Serheyev <74361701+alex-dna-tech@users.noreply.github.com> Date: Wed, 27 Mar 2024 12:59:07 +0200 Subject: [PATCH] Fix #9 #11 #12 --- cmd/run/run.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/run/run.go b/cmd/run/run.go index 95c77f0..229d2c1 100644 --- a/cmd/run/run.go +++ b/cmd/run/run.go @@ -55,9 +55,14 @@ func Run(ctx *cli.Context) error { return err } + tmpSrc := source.RuntimeSource() + if os.Getenv("GOOS") == "windows" { + tmpPath = strings.Replace(source.RuntimeSource(), ":", "", 1) + } + svc := &runtime.Service{ Name: source.RuntimeName(), - Source: source.RuntimeSource(), + Source: tmpSrc, Version: source.Ref, Metadata: make(map[string]string), }