add hashmarks to the status bar when a new name is registered

we can't guarantee that we're running only signed code at this point,
so create a visual indicator of this.
This commit is contained in:
bunnie 2023-10-31 00:42:25 +08:00
parent bd8537f874
commit 699372d8d3

View file

@ -677,6 +677,7 @@ fn wrapped_main() -> ! {
Some(Opcode::RegisterName) => {
let buffer = unsafe { Buffer::from_memory_message(msg.body.memory_message().unwrap()) };
let registration = buffer.to_original::<NameRegistration, _>().unwrap();
gfx.set_devboot(); // indicate to users that we are no longer in a codebase that is exclusively trusted code
context_mgr.register_name(registration.name.to_str(), &registration.auth_token);
}
Some(Opcode::Quit) => break,