Replace tempdir crate with tempfile
This commit is contained in:
parent
f8604e88ef
commit
fd6f71d287
15 changed files with 78 additions and 119 deletions
|
@ -291,7 +291,9 @@ impl AutoUpdater {
|
|||
cx.notify();
|
||||
})?;
|
||||
|
||||
let temp_dir = tempdir::TempDir::new("zed-auto-update")?;
|
||||
let temp_dir = tempfile::Builder::new()
|
||||
.prefix("zed-auto-update")
|
||||
.tempdir()?;
|
||||
let dmg_path = temp_dir.path().join("Zed.dmg");
|
||||
let mount_path = temp_dir.path().join("Zed");
|
||||
let running_app_path = ZED_APP_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue