Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8aa131a
fallback targets
kandrelczyk Feb 20, 2025
597ae9f
Merge branch 'tauri-apps:v2' into feature/fallback_targets
kandrelczyk Feb 21, 2025
6ae53cf
linux test
kandrelczyk Mar 1, 2025
e2e27ac
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Mar 1, 2025
ae7a2e3
linux ready
kandrelczyk Mar 1, 2025
dc75b76
RPM installation
kandrelczyk Mar 3, 2025
199a52b
small error fix
kandrelczyk Mar 5, 2025
ede0c68
fix windows build
kandrelczyk Mar 7, 2025
d50947c
windows tests
kandrelczyk Mar 7, 2025
ef95298
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Mar 7, 2025
012f633
add aider files to .gitignore
kandrelczyk Mar 9, 2025
c2877ec
get bundle type out of patched variable
kandrelczyk Mar 18, 2025
c9d0a6c
windows tests
kandrelczyk Mar 18, 2025
896678a
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Apr 1, 2025
8cb79a3
patch windows binary
kandrelczyk Apr 6, 2025
b1a8781
format
kandrelczyk Apr 7, 2025
0630002
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Apr 7, 2025
3a43397
fix bundler
kandrelczyk Apr 10, 2025
68564e0
Merge branch 'v2' of github.com:kandrelczyk/plugins-workspace into fe…
kandrelczyk Apr 10, 2025
24504e4
remove local tauri dependency
kandrelczyk Apr 11, 2025
5d12c97
remove print
kandrelczyk Apr 11, 2025
2137583
rever Cargo.lock
kandrelczyk Apr 12, 2025
b80a295
move __TAURI_BUNDLE_TYPE to tauri::utils
kandrelczyk Apr 12, 2025
f75d32b
get_current_bundle_type
kandrelczyk Apr 14, 2025
1ea7522
Merge remote-tracking branch 'origin/v2' into feature/fallback_targets
lucasfernog Jul 7, 2025
940ed70
update tauri
lucasfernog Jul 7, 2025
201a001
fix macos integration test
lucasfernog Jul 7, 2025
80b07ee
Merge branch 'v2' into feature/fallback_targets
kandrelczyk Jul 8, 2025
513376b
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Jul 8, 2025
9e9d7bc
fix fallback logic
kandrelczyk Jul 9, 2025
f7c10ea
amend! fallback targets
kandrelczyk Jul 10, 2025
2fdda08
reformat
kandrelczyk Jul 14, 2025
4913dbe
fix tests
kandrelczyk Jul 16, 2025
5eae160
reformat
kandrelczyk Jul 16, 2025
5056198
Merge branch 'v2' into feature/fallback_targets
kandrelczyk Jul 21, 2025
5b4c1c1
bump tari versio
kandrelczyk Jul 22, 2025
6c2f563
fix fallback logic
kandrelczyk Jul 23, 2025
c13e583
restore Cargo.lock
kandrelczyk Jul 24, 2025
043d89f
Merge branch 'v2' of https://github.com/tauri-apps/plugins-workspace …
Legend-Master Jul 25, 2025
0a495cc
Bump tauri and add notes
Legend-Master Jul 25, 2025
e67750c
Rename some staffs
Legend-Master Jul 25, 2025
3d7200b
move target logic
kandrelczyk Jul 26, 2025
f563b02
Merge branch 'feature/fallback_targets' of github.com:kandrelczyk/plu…
kandrelczyk Jul 26, 2025
ad8d711
Refactor the target fallback to a function
Legend-Master Jul 26, 2025
c8d57a8
Format and clippy
Legend-Master Jul 26, 2025
fc85f3b
Keep target in `Update` since it's public
Legend-Master Jul 26, 2025
7d14a45
Keep updater/tests/app-updater/src/main.rs lf
Legend-Master Jul 26, 2025
9b3171f
Revert changes in tests/app-updater/src/main.rs
Legend-Master Jul 26, 2025
736223c
Clean up
Legend-Master Jul 26, 2025
d9cd15a
Merge remote-tracking branch 'upstream/v2' into feature/fallback_targets
Legend-Master Jul 26, 2025
feda0b7
changefile
kandrelczyk Jul 26, 2025
f31125a
Bump updater-js as well
Legend-Master Jul 26, 2025
b8c1cb2
update pub fn target docs
kandrelczyk Jul 26, 2025
f2a6b91
update pub fn target docs
kandrelczyk Jul 26, 2025
3101558
Update plugins/updater/src/error.rs
kandrelczyk Jul 28, 2025
0c382a4
Update plugins/updater/src/updater.rs
kandrelczyk Jul 28, 2025
a52b2b9
Update plugins/updater/src/updater.rs
kandrelczyk Jul 28, 2025
b62e132
suggestios
kandrelczyk Jul 28, 2025
cdcc915
Merge branch 'v2' into feature/fallback_targets
kandrelczyk Aug 11, 2025
73a211b
add comment
kandrelczyk Aug 11, 2025
51d4b9f
restore error
kandrelczyk Aug 11, 2025
ed77d90
Revert "Bump tauri and add notes"
Legend-Master Aug 26, 2025
6198160
Merge remote-tracking branch 'upstream/v2' into feature/fallback_targets
Legend-Master Aug 26, 2025
abcee1f
Revert "bump tari versio"
Legend-Master Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/updater-new-bundle-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"updater": minor
"updater-js": minor
---

Updater plugin now supports all bundle types: Deb, Rpm and AppImage for Linux; NSiS, MSI for Windows.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ pids
.idea
debug.log
TODO.md
.aider*
.aider.*
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions plugins/updater/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ pub enum Error {
/// `reqwest` crate errors.
#[error(transparent)]
Reqwest(#[from] reqwest::Error),
/// The platform was not found on the updater JSON response.
#[error("the platform `{0}` was not found on the response `platforms` object")]
/// The platform was not found in the updater JSON response.
#[error("the platform `{0}` was not found in the response `platforms` object")]
TargetNotFound(String),
/// Neither the platform nor the fallback platform was found in the updater JSON response.
#[error(
"None of the fallback platforms `{0:?}` were found in the response `platforms` object"
)]
TargetsNotFound(Vec<String>),
/// Download failed
#[error("`{0}`")]
Network(String),
Expand Down Expand Up @@ -69,6 +74,8 @@ pub enum Error {
AuthenticationFailed,
#[error("Failed to install .deb package")]
DebInstallFailed,
#[error("Failed to install package")]
PackageInstallFailed,
#[error("invalid updater binary format")]
InvalidUpdaterFormat,
#[error(transparent)]
Expand Down
Loading
Loading