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.
2 parents 18103f0 + 3cf8b63 commit d08f644Copy full SHA for d08f644
crates/lovely-core/src/lib.rs
@@ -350,9 +350,9 @@ impl PatchTable {
350
panic!("Failed to read patch file at {patch_file:?}:\n{e:?}")
351
});
352
353
- // HACK: Replace instances of {{lovely:patch_file_path}} with patch_file.
+ // HACK: Replace instances of {{lovely_hack:patch_dir}} with mod directory.
354
let clean_mod_dir = &mod_dir.to_string_lossy().replace("\\", "\\\\");
355
- let str = str.replace("{{lovely:mod_dir}}", clean_mod_dir);
+ let str = str.replace("{{lovely_hack:patch_dir}}", clean_mod_dir);
356
357
// Handle invalid fields in a non-explosive way.
358
let ignored_key_callback = |key: serde_ignored::Path| {
0 commit comments