✨ Add configuration merge service
This commit is contained in:
@@ -41,6 +41,11 @@ func (pm *PathManager) GetKeybindsPath() string {
|
||||
return pm.keybindsPath
|
||||
}
|
||||
|
||||
// GetConfigDir 获取配置目录路径
|
||||
func (pm *PathManager) GetConfigDir() string {
|
||||
return pm.configDir
|
||||
}
|
||||
|
||||
// EnsureConfigDir 确保配置目录存在
|
||||
func (pm *PathManager) EnsureConfigDir() error {
|
||||
return os.MkdirAll(pm.configDir, 0755)
|
||||
|
Reference in New Issue
Block a user