Skip to content

Commit

Permalink
Fixed code injection for windows release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
UwUDev committed Sep 12, 2024
1 parent 511c64e commit 21b19ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pub fn get_lua_files() -> HashMap<String, String> {
}
let mut content = String::new();
file.read_to_string(&mut content).unwrap();
map.insert(name, content);
map.insert(name.replace(".lua", ""), content);
}
map
}
Expand Down

0 comments on commit 21b19ee

Please sign in to comment.