Skip to content

Commit f2a6b91

Browse files
committed
update pub fn target docs
1 parent b8c1cb2 commit f2a6b91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/updater/src/updater.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,8 +1271,9 @@ impl Update {
12711271
}
12721272
}
12731273

1274-
/// Gets the base target string used by the updater. If bundle type infromation is available it
1274+
/// Gets the base target string used by the updater. If bundle type is available it
12751275
/// will be added to this string when selecting the download URL and signature.
1276+
/// `tauri::utils::platform::bundle_type` method is used to obtain current bundle type.
12761277
pub fn target() -> Option<String> {
12771278
if let (Some(target), Some(arch)) = (updater_os(), updater_arch()) {
12781279
Some(format!("{target}-{arch}"))

0 commit comments

Comments
 (0)