Merge pull request #9070 from dotCooCoo/feat/scripts-unitvalue

Scripts: UnitValue measurements convert and calculate with their units
This commit is contained in:
BFlat authored and GitHub committed 2026-11-24 16:05:51 +07:00
commit c79555c25c
11 files changed
+1119 -3

No files matched your search

+1
View File
@@ -2120,6 +2120,7 @@ impl Session {
}));
}
(if fresh { realm.add_script_extensions() } else { Ok(()) })
.and_then(|()| if fresh { realm.add_unit_values() } else { Ok(()) })
.and_then(|()| if fresh { realm.define_host_object("vc", vc_object(&link)) } else { Ok(()) })
.and_then(|()| if fresh { realm.define_host_object("$", dollar_object(&link, info, &localization)) } else { Ok(()) })
.and_then(|()| if fresh { dialogs::install(&mut realm, &link) } else { Ok(()) })