windows: credentials implementation (#9385)

Release Notes:

- N/A
This commit is contained in:
Ezekiel Warren 2024-03-18 10:16:29 -07:00 committed by GitHub
parent 64ebbb4afc
commit 4e17ce3b37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 69 additions and 7 deletions

View file

@ -68,3 +68,7 @@ pub(crate) unsafe fn set_window_long(
SetWindowLongW(hwnd, nindex, dwnewlong as i32) as isize
}
}
pub(crate) fn windows_credentials_target_name(url: &str) -> String {
format!("zed:url={}", url)
}