diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-08-08 20:02:55 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-08-08 20:02:55 +0100 |
| commit | 4c28c8e00cb6e31f5ab1970cadf521edecfe6f58 (patch) | |
| tree | a747865f84c549c13a77e93c8a0801fb48f0d2e2 /src/paths.rs | |
| parent | 7d6dc364dd6c1a1f8d200eaf108e8c56729b17ae (diff) | |
| parent | e961fad84734ba750386ed463057bacedf24bc17 (diff) | |
Merge pull request '✨feat: add desktop integration logic to AppImage and utilize it in PackageManager' (#18) from feat/issue-17 into main
Reviewed-on: https://git.ch-naseem.com/ndpm13/zap-rs/pulls/18
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")) +} |
