使用专用证书默认目录并拒绝接管其他账户目录

This commit is contained in:
xuans committed 2026-09-27 00:45:29 +08:00
1 parent 4dfcecfd21
commit 2d84f16554
9 files changed
+89 -12

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ import (
func TestDefaultPaths(t *testing.T) {
paths := DefaultPaths(t.TempDir())
if runtime.GOOS == "linux" {
if paths.Install != "/scert" || paths.Certificate != "/ssl" {
if paths.Install != "/scert" || paths.Certificate != "/ssl/scert" {
t.Fatalf("Linux 默认路径不正确:%+v", paths)
}
return