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

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
@@ -168,7 +168,7 @@ func Default(baseDir string) Config {
func DefaultPaths(baseDir string) PathsConfig {
if runtime.GOOS == "linux" {
certificateRoot := "/ssl"
certificateRoot := "/ssl/scert"
if strings.TrimSpace(baseDir) == "" {
if installedRoot, err := readInstalledCertificateRoot(LinuxInstallationMetadataPath); err == nil {
certificateRoot = installedRoot