Amr Bashir
57efb47c11
feat(updater): add Builder::header and Builder::headers ( #2235 )
2024-12-24 17:00:12 +02:00
Night_Hunter
829b632650
feat(updater): add Builder::default_version_comparator ( #1919 )
2024-12-10 15:11:43 +02:00
jLynx
f8f2eefe03
feat(updater): Add .deb Package Support to Linux Updater ( #1991 )
2024-11-26 13:48:37 +02:00
Amr Bashir
04a0aea0ab
feat(updater)!: add option to use insecure transport protocol ( #1814 )
2024-09-24 18:38:53 +03:00
Amr Bashir
221f50f53b
fix(updater): encode version when making requests ( #1816 )
...
* fix(updater): encode version when making requests
ref: https://github.com/tauri-apps/tauri/issues/10908
* Update .changes/updater-endpoint-version-encoded.md
* only skip `+`
* fmt
* use normal const
2024-09-20 07:57:40 -03:00
Amr Bashir
f8255e1db5
feat(updater): allow passing headers & timeout in Update.download* methods ( #1661 )
...
closes #1634
2024-09-03 01:02:16 +03:00
Lucas Fernandes Nogueira
5d170a5444
chore(deps): tauri 2.0.0-rc.3 ( #1671 )
...
* chore(deps): tauri 2.0.0-rc.3
* fix builds
* fix deep link [skip ci]
2024-08-17 07:40:57 -03:00
Lucas Fernandes Nogueira
7701392500
fix(updater): linux not retaining AppImage permissions, enhance tests ( #1636 )
...
* fix(updater): linux not retaining AppImage permissions, enhance tests
- adds a test for migration from v1 to v2
- extends the existing integration test to actually verify if the app was updated
* remove test framework
* fix macos test
* fix windows
* wait on windows
* fix wix
* typo
* fmt
* install webkit2gtk-4.0 on ci
* fix npm command on windows
* fix test on windows
* ubuntu-22.04
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
2024-08-12 14:59:53 -03:00
Tony
f83b9e9813
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
2024-07-15 18:43:42 +08:00
Fabian-Lars
955ed6aec6
fix(updater): Start app after update via msi ( #1498 )
2024-07-02 08:22:33 +03:00
Tony
acce342fcc
chore(deps): migrate dirs-next to dirs for updater plugin ( #1506 )
...
* Migrate dirs-next to dirs for updater
* Add change file
* dirs_next -> dirs
2024-07-01 10:41:46 +02:00
Amr Bashir
757ab74c8e
refactor(updater): cleanup install logic on Windows and add unit test ( #1496 )
2024-06-26 12:19:10 +02:00
Fabian-Lars
29751ee939
fix(updater): Escape msi path string ( #1495 )
...
* fix(updater): Escape msi path string
* fmt
2024-06-25 04:12:57 +03:00
Amr Bashir
bf29a72baa
fix(updater): use msiexec to install .msi updates ( #1454 )
...
* fix(updater): use msiexec to install .msi updates
* Update updater.rs
* Update updater.rs
2024-06-13 01:35:25 +03:00
Tony
7327602f15
chore(updater): remove /NS ( #1371 )
2024-05-27 18:31:58 +03:00
Amr Bashir
69e4c2e56f
fix(updater): pass /NS and /UPDATE to nsis installer to disable creating shortcuts on updates ( #1162 )
...
* fix(updater): pass `/NS` to nsis installer to disable creating shortcuts on updates
ref: tauri-apps/tauri#9395
* add `/UPDATE`
* move args to function
* update updater test config
* revert /R
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-25 10:26:27 -03:00
Tony
43224c5d5c
feat(updater): add download and install js binding ( #1330 )
2024-05-21 18:54:06 +03:00
Tony
1fa4d30eab
feat(updater): support non zipped updater ( #1174 )
2024-04-30 17:48:04 +03:00
Tony
1d7dc86ec3
fix(updater): run cleanup before exit on Windows ( #1070 )
2024-03-13 16:12:21 +02:00
Tony
a3b5396113
refactor!(updater): migrate run updater using powershell to ShellExecute ( #1054 )
...
* Migrate to ShellExecute
* Add change file
* Revert cargo.toml style
* Remove unused imports
* Migrate to windows-sys
* Use open instead of runas
* Use encode_wide instead of hstring
* small cleanup
2024-03-12 17:47:22 +02:00
Tony
4e37316af0
fix(updater): fallback to passive mode & fix installerArgs deserialzation ( #1051 )
2024-03-11 17:29:16 +02:00
Amr Bashir
506ce4835b
refactor(updater): accomodate to new tauri config restructure ( #924 )
...
* refactor(updater): accomodate to new tauri config restructure
RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md
RFC#5 PR implementation: https://github.com/tauri-apps/tauri/pull/8723
* lint and update configs
2024-02-03 09:14:39 -03:00
Amr Bashir
0879a87a7e
refactor(updater): migrate to tauri's new resource table ( #899 )
...
* refactor(updater): migrate to tauri's new resource table
* fmt
* fmt
* Create updater-js-started-event.md
2024-01-18 12:48:44 +01:00
Zhang San
4e2e77580c
feat(updater) support proxy ( #891 )
...
* add proxy support
Signed-off-by: San Zhang <sanzhang@mail.com >
* 1. change string to url for proxy type
2. add proxy option in js api
Signed-off-by: San Zhang <sanzhang@mail.com >
* fix fmt issue
Signed-off-by: San Zhang <sanzhang@mail.com >
* Update plugins/updater/guest-js/index.ts
---------
Signed-off-by: San Zhang <sanzhang@mail.com >
2024-01-17 16:47:26 +02:00
Amr Bashir
e5f979f91a
fix(core/updater): check if installer args are not empty before passing -ArgumentList ( #818 )
2023-12-19 17:37:27 -03:00
Fabian-Lars
78e60e6618
fix(updater): Typo in error enum ( #812 )
2023-12-11 15:19:05 -03:00
kris-ava
e7c72c9816
fix(updater): fix appimage extraction ( #784 )
...
* fix updater on linux
* review changes
* Apply suggestions from code review
* change file
---------
Co-authored-by: Kris Krolak <krzysiek.krolak@gmail.com >
2023-11-30 20:46:02 +02:00
Fabian-Lars
0864c54147
fix(updater): replace url vars in query params ( #756 )
2023-11-22 16:08:24 +01:00
Amr Bashir
a3ca64275a
fix(updater): Use escaped installer path to start the msi updater ( #728 )
...
* fix(updater): Use escaped installer path to start the msi updater
Continuation of #727
* change file
* fix build
2023-11-16 01:26:11 +02:00
Fabian-Lars
9db40a6dc4
fix(updater): Use escaped installer path to start the nsis updater ( #727 )
...
Port of v1 change: https://github.com/tauri-apps/tauri/pull/7956
2023-11-15 14:58:57 +02:00
pashokitsme
0e642e68de
fix(updater): installation on macos #591 ( #592 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
fix(updater): installation on macos #591
fix(updater): use zip flate2 feature #591
fix(updater): use zip flate2 feature #591 "
2023-10-19 22:50:37 +00:00
Lucas Fernandes Nogueira
d1b7c2c1fb
feat: build docs.rs documentation for Android ( #654 )
2023-10-19 17:39:54 +00:00
Fabian-Lars
28ec084e56
fix(updater): Fix endpoint string replacements, fixes #655 ( #662 )
...
* fix(updater): Fix endpoint string replacements, fixes #655
* fmt
2023-10-16 20:39:02 +03:00
Amr Bashir
4ab90f048e
feat(updater): refactor and improvements ( #431 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-07 16:01:21 -03:00