Lucas Fernandes Nogueira
9501cfa5f5
fix(updater): validate endpoint scheme before printing warning ( #1868 )
...
regression from #1814
2024-10-02 16:28:16 -03: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
Lucas Fernandes Nogueira
95da90f82e
fix: clippy warnings, add missing wry feature on examples ( #1604 )
...
* fix: clippy warnings, add missing wry feature on examples
* schema feat does not exist
* also add compression
2024-07-31 07:14:05 -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
Lucas Fernandes Nogueira
22a17980ff
feat: update to tauri beta.24 ( #1537 )
...
* feat: update to tauri beta.24
* remove .tauri
* pnpm build
2024-07-12 17:59:17 -03: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
Amr Bashir
c8b78034a4
chore(updater): non https endpoint warning ( #1311 )
...
closes #1308
2024-05-13 20:48:05 +03:00
Fabian-Lars
0d4d029011
build: Update pnpm to v9 ( #1309 )
...
* build: Update pnpm to v9
* update actions
* remove last actions-rs usage
* clippy
* clippy again
* revert default feature
2024-05-13 17:03:04 +02:00
Tony
1fa4d30eab
feat(updater): support non zipped updater ( #1174 )
2024-04-30 17:48:04 +03:00
Amr Bashir
e3d41f4011
fix: use webview's resources table ( #1191 )
...
* fix: use webview's resources table
* fix clipboard into_img usage
* fix mobile
2024-04-18 03:19:24 +02:00
Naman Garg
8d7689f6f9
Add WebviewWindow to code docs and template ( #1144 )
...
* Add WebviewWindow to code docs
* Shorten the WebView Name
* Apply suggestions from code review
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-04-09 11:56:00 -03:00
Lucas Fernandes Nogueira
a04ea2f382
refactor: only inject API IIFE script when withGlobalTauri is true ( #1071 )
...
* refactor: only inject API IIFE script when withGlobalTauri is true
* fmt
* update tauri
2024-03-19 15:03:20 -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
Lucas Fernandes Nogueira
cacf544d51
chore(deps): update to tauri beta.9 ( #1037 )
2024-03-07 00:08:52 -03:00
Tillmann
d198c01486
feat: update to tauri beta, add permissions ( #862 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-02-03 15:14:41 -03: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
Anton Piliugin
8a3db790b8
fix(updater): fix readme and types ( #903 )
...
* Types fix
* generate files
2024-01-17 01:45:22 +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
Amr Bashir
1b98b85a1f
refactor: simplify rollup config and match @tauri-apps/api output style ( #722 )
...
* refactor: simplify rollup config and match `@tauri-apps/api` output style
* add license headers
* update api-iife.js [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-11-14 21:09:53 +02:00
Lucas Fernandes Nogueira
e438e0a62d
feat: update to alpha.17, typed mobile plugin IPC arguments ( #676 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-10-29 16:06:44 -03:00
Lucas Fernandes Nogueira
5c137365c6
chore: update to tauri alpha.16, api alpha.9 ( #673 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-10-20 13:50:18 -03: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
Lucas Fernandes Nogueira
d74fc0a097
feat: update to alpha.11 ( #555 )
2023-08-14 14:51:20 -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
Simon Hyll
5fd597ddaf
docs: added banners and icons ( #443 )
...
* added banners and icons
* fix: formatting
2023-06-20 14:55:14 +03:00
Amr Bashir
56d455d343
fix(updater): fix nsis updater unable to launch installers requiring elevation ( #444 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-06-19 20:58:14 -03:00
Lucas Fernandes Nogueira
1cb831183c
feat(updater): backport changes from tauri v1 ( #405 )
2023-06-18 07:36:39 -03:00
Lucas Fernandes Nogueira
b131bc8f7c
feat(plugins): inject API on window.__TAURI__ ( #383 )
2023-05-23 14:20:14 -03:00