新增编译标记以及编译操作系统类型

This commit is contained in:
orgin
2022-09-22 10:37:27 +08:00
parent 280c04a5d7
commit 5a6a4c8a0d
4 changed files with 19 additions and 2 deletions

View File

@@ -15,3 +15,7 @@ func KillProcess(processId int){
fmt.Printf("kill processid %d is successful.\n",processId)
}
}
func GetBuildOSType() BuildOSType{
return Linux
}

View File

@@ -15,3 +15,7 @@ func KillProcess(processId int){
fmt.Printf("kill processid %d is successful.\n",processId)
}
}
func GetBuildOSType() BuildOSType{
return Mac
}

View File

@@ -4,4 +4,8 @@ package node
func KillProcess(processId int){
}
}
func GetBuildOSType() BuildOSType{
return Windows
}