Commit e7481a4
committed
fix: replace deprecated env::home_dir() with env::var("HOME")
The env::home_dir() function is deprecated since Rust 1.29. Replace it
with env::var("HOME") which is the consistent approach used elsewhere
in the codebase. Added a clarifying comment about why user desktop
files are conditionally included.1 parent 967a7f8 commit e7481a4
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments