Skip to content

Commit c89ff95

Browse files
committed
fix(updates): open Microsoft Store page for MSIX updates
1 parent 774d89c commit c89ff95

11 files changed

Lines changed: 103 additions & 767 deletions

File tree

‎src-tauri/src/commands/settings.rs‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,8 @@ pub fn get_app_update_channel(state: tauri::State<'_, AppState>) -> AppUpdateCha
315315
}
316316
#[cfg(target_os = "windows")]
317317
if crate::is_msix_build() {
318-
if state
319-
.git_service
320-
.get_settings()
321-
.enable_update_with_ms_store_flow
322-
{
323-
return AppUpdateChannel::MicrosoftStore;
324-
}
325-
return AppUpdateChannel::SystemManaged;
318+
let _ = &state;
319+
return AppUpdateChannel::MicrosoftStore;
326320
}
327321
AppUpdateChannel::SelfManaged
328322
}

0 commit comments

Comments
 (0)