main: use correct subkey path for set_lark_path()
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
377e3a2584
commit
b43f2e0c5d
@ -111,7 +111,7 @@ fn set_lark_path(new_path: &Path) -> std::io::Result<()> {
|
||||
use winreg::enums::*;
|
||||
use winreg::RegKey;
|
||||
let hkcu = RegKey::predef(HKEY_CURRENT_USER);
|
||||
let (key, _disp) = hkcu.create_subkey("SOFTWARE\\Ion\\Larkinator")?;
|
||||
let (key, _disp) = hkcu.create_subkey("SOFTWARE\\Ion\\Malarkey")?;
|
||||
key.set_value("Lark Path", &new_path.as_os_str())?;
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user