init
Some checks failed
Build and Release / release (push) Failing after 26s

This commit is contained in:
2025-12-12 17:37:34 +07:00
commit 9d769ed08c
32 changed files with 895 additions and 0 deletions

17
cert_windows.go Normal file
View File

@@ -0,0 +1,17 @@
//go:build windows
// +build windows
package main
import (
"os/exec"
)
func installCA(absPath string) error {
cmd := exec.Command("certutil", "-addstore", "-user", "root", absPath)
if err := cmd.Run(); err != nil {
return err
}
return nil
}