main: use correct subkey path for set_lark_path()
				
					
				
			Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
		@@ -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(())
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user