There was an error while loading. Please reload this page.
1 parent e5308f1 commit 6e54b21Copy full SHA for 6e54b21
2 files changed
.goreleaser.yml
@@ -4,6 +4,7 @@ builds:
4
env:
5
- CGO_ENABLED=0
6
goos:
7
+ - darwin
8
- linux
9
- windows
10
goarch:
darwin.go
@@ -0,0 +1,16 @@
1
+//go:build darwin
2
+
3
+package main
+import (
+ "os/exec"
+ "syscall"
+)
+func createAgentCommand(name string) *exec.Cmd {
11
+ cmd := exec.Command(name)
12
+ cmd.SysProcAttr = &syscall.SysProcAttr{
13
+ // Darwin-specific settings if needed
14
+ }
15
+ return cmd
16
+}
0 commit comments