feat: 初始化跨平台远程编译服务与 Android Studio 插件

This commit is contained in:
tongtong committed 2026-11-24 14:46:34 +08:00
commit 9eba4556db
44 files changed
+2802

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package main
import (
"os/exec"
"strconv"
)
func gradleCommand(work, task string) *exec.Cmd {
return exec.Command("cmd.exe", "/d", "/c", "gradlew.bat", task, "--console=plain", "--no-daemon")
}
func killTree(c *exec.Cmd) {
if c.Process != nil {
_ = exec.Command("taskkill.exe", "/PID", strconv.Itoa(c.Process.Pid), "/T", "/F").Run()
}
}