diff --git a/pkg/mining/miner.go b/pkg/mining/miner.go index e9e62b0..d68c845 100644 --- a/pkg/mining/miner.go +++ b/pkg/mining/miner.go @@ -323,8 +323,8 @@ func compareVersions(v1, v2 []int) int { return 0 } -// findMinerBinary searches for the miner's executable file. -// It returns the absolute path to the executable if found, prioritizing the highest versioned installation. +// path, err := b.findMinerBinary() +// // path == "/home/user/.local/share/lethean-desktop/miners/xmrig/xmrig-6.24.0/xmrig" func (b *BaseMiner) findMinerBinary() (string, error) { executableName := b.ExecutableName if runtime.GOOS == "windows" {