fix sync ui

This commit is contained in:
Julian Freeman
2026-03-14 17:34:43 -04:00
parent 7743a25f7b
commit 65ce05b36b
3 changed files with 107 additions and 29 deletions

View File

@@ -28,12 +28,12 @@ fn get_essentials(app: AppHandle) -> Vec<Software> {
description: Some("Microsoft PowerToys 是一组实用程序,供高级用户调整和简化其 Windows 10 和 11 体验。".to_string()),
version: None,
available_version: None,
icon_url: Some("https://raw.githubusercontent.com/microsoft/PowerToys/master/doc/images/logo.png".to_string()),
icon_url: Some("https://raw.githubusercontent.com/microsoft/PowerToys/main/doc/images/icons/PowerToys icon/PNG/PowerToysAppList.targetsize-48.png".to_string()),
status: "idle".to_string(),
progress: 0.0,
},
Software {
id: "Google.Chrome".to_string(),
id: "Google.Chrome.EXE".to_string(),
name: "Google Chrome".to_string(),
description: Some("Google Chrome 是一款快速、安全且免费的浏览器。".to_string()),
version: None,