askpass: Workaround rust lang 69343 (#30774)
Closes #ISSUE Work around https://github.com/rust-lang/rust/issues/69343 in askpass Release Notes: - linux: Fixed an issue with askpass where the Zed binary path would be incorrect after an auto-update is installed but not yet applied
This commit is contained in:
parent
18d39e3f81
commit
1d043b37fb
2 changed files with 5 additions and 3 deletions
|
@ -426,8 +426,8 @@ impl<P: LinuxClient + 'static> Platform for P {
|
|||
|
||||
fn app_path(&self) -> Result<PathBuf> {
|
||||
// get the path of the executable of the current process
|
||||
let exe_path = env::current_exe()?;
|
||||
Ok(exe_path)
|
||||
let app_path = env::current_exe()?;
|
||||
return Ok(app_path);
|
||||
}
|
||||
|
||||
fn set_menus(&self, menus: Vec<Menu>, _keymap: &Keymap) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue