diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-08-08 17:18:43 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-08-08 17:18:43 +0100 |
| commit | e961fad84734ba750386ed463057bacedf24bc17 (patch) | |
| tree | a747865f84c549c13a77e93c8a0801fb48f0d2e2 /src/paths.rs | |
| parent | b0d4e60e525e2438e02fa3e3b5ffaba374a03a71 (diff) | |
✨feat: add desktop integration logic to AppImage and utilize it in PackageManager
Diffstat (limited to 'src/paths.rs')
| -rw-r--r-- | src/paths.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/paths.rs b/src/paths.rs index 7bbc8f8..c52a84e 100644 --- a/src/paths.rs +++ b/src/paths.rs @@ -14,3 +14,11 @@ pub fn index_dir() -> Result<PathBuf> { pub fn appimages_dir() -> Result<PathBuf> { Ok(zap_rs_home()?.join("appimages")) } + +pub fn desktops_dir() -> Result<PathBuf> { + Ok(zap_rs_home()?.join("desktops")) +} + +pub fn icons_dir() -> Result<PathBuf> { + Ok(zap_rs_home()?.join("icons")) +} |
