mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 19:25:56 +00:00
feat(ui): unified installed modules, supported-only catalog, inline github bar, dynamic conf parsing
This commit is contained in:
1 parent
2c37c4e29a
commit
3e44ca7455
4 files changed
+1132
-907
No files matched your search
@@ -132,10 +132,10 @@ pub fn lockfile_path(server: &Path) -> PathBuf {
|
||||
|
||||
/// Directory for module configs (`Core/configs/modules` or `configs/modules`).
|
||||
pub fn modules_config_dir(server: &Path) -> PathBuf {
|
||||
if server.join("Core/configs/modules").is_dir() || server.join("Core").is_dir() {
|
||||
server.join("Core/configs/modules")
|
||||
} else {
|
||||
if server.join("configs/modules").is_dir() && !server.join("Core/configs/modules").is_dir() {
|
||||
server.join("configs/modules")
|
||||
} else {
|
||||
server.join("Core/configs/modules")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user