diff --git a/pkg/node/worker.go b/pkg/node/worker.go index c4aad00..b4544a4 100644 --- a/pkg/node/worker.go +++ b/pkg/node/worker.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "encoding/json" "fmt" - "path/filepath" + "path" "time" "forge.lthn.ai/Snider/Mining/pkg/logging" @@ -361,8 +361,8 @@ func (worker *Worker) handleDeploy(conn *PeerConnection, msg *Message) (*Message case BundleMiner, BundleFull: // Determine installation directory // We use xdg.DataHome/lethean-desktop/miners/ - minersDir := filepath.Join(xdg.DataHome, "lethean-desktop", "miners") - installDir := filepath.Join(minersDir, payload.Name) + minersDir := path.Join(xdg.DataHome, "lethean-desktop", "miners") + installDir := path.Join(minersDir, payload.Name) logging.Info("deploying miner bundle", logging.Fields{ "name": payload.Name,