1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-03 01:13:18 +03:00

move platform specific code to dedicated platform files

This commit is contained in:
Anthony HAMON
2018-08-21 21:48:09 +02:00
parent a5adfaee8a
commit 32f4d09e89
3 changed files with 26 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
// +build !windows
package commands
import (
"runtime"
)
func getPlatform() *Platform {
return &Platform{
os: runtime.GOOS,
shell: "bash",
shellArg: "-c",
escapedQuote: "\"",
}
}