Skip to content

Commit b1d719b

Browse files
0xbrayoErikBjare
authored andcommitted
bug fix
1 parent 9bd582f commit b1d719b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src-tauri/src/main.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ fn main() {
4040
let webui_path = if let Ok(var_path) = &webui_var {
4141
println!("Using webui path: {}", var_path);
4242
std::path::Path::new(var_path)
43+
} else {
44+
panic!("AW_WEBUI_DIR environment variable not set, Try running make");
4345
};
4446

4547
let asset_path = PathBuf::from(&webui_path);

0 commit comments

Comments
 (0)