enhance(updater): use named tempfile on Windows (#1544)

* Use named tempfile on Windows

* append installer

* Add change file

* Fix ci

* Wrap in a folder

* Name temp dir for eaiser debugging

* format

* temp_dir

* target_os

* Document use updater_builder instead
This commit is contained in:
Tony
2024-07-15 18:43:42 +08:00
committed by GitHub
parent 77ee644afd
commit f83b9e9813
5 changed files with 71 additions and 27 deletions
@@ -0,0 +1,7 @@
---
"updater": patch
---
On Windows, use a named tempfile with `<app name>-<version>-installer.exe` (or `.msi`) for v2 updater
**Breaking Change**: `UpdaterBuilder::new` now takes one more argument `app_name: String`