We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c86dfd commit 6c86718Copy full SHA for 6c86718
src/package.rs
@@ -87,7 +87,9 @@ pub fn install(config: &Config, pkg_path: &Path) {
87
let mod_path = config.get_current_profile().mods_dir();
88
89
if !mod_path.exists() {
90
- fs::create_dir_all(&mod_path).nice_unwrap("Could not setup mod installation");
+ warn!("Path {mod_path:?} does not exist, creating it");
91
+ warn!("(Is your profile set up correctly?)");
92
+ fs::create_dir_all(&mod_path).nice_unwrap("Failed to create path");
93
}
94
fs::copy(pkg_path, mod_path.join(pkg_path.file_name().unwrap()))
95
.nice_unwrap("Could not install mod");
0 commit comments