fix(native): jump list IObjectArray/IObjectCollection are in Shell::Common
Build Lotus Chat Desktop / prepare (push) Successful in 39s
Build Lotus Chat Desktop / build-windows (push) Failing after 11m31s
Build Lotus Chat Desktop / build-linux (push) Failing after 13m4s
Build Lotus Chat Desktop / update-manifest (push) Has been skipped

Repairs the CI Windows compile (first build to reach the Rust after the web/
case-collision failures cleared): these two COM interfaces live in
windows::Win32::UI::Shell::Common (feature Win32_UI_Shell_Common), not
System::Com nor Shell. Added the feature; corrected the import.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 08:49:07 -04:00
parent 706b02545d
commit 87950f623b
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -56,6 +56,7 @@ windows = { version = "0.61", features = [
"Win32_System_Power", # P5-46 no-sleep "Win32_System_Power", # P5-46 no-sleep
"Win32_System_WinRT", # P5-43 SMTC interop "Win32_System_WinRT", # P5-43 SMTC interop
"Win32_UI_Shell", "Win32_UI_Shell",
"Win32_UI_Shell_Common", # P5-36 jump list (IObjectArray/IObjectCollection)
"Win32_UI_Shell_PropertiesSystem", # P5-36 jump list (IPropertyStore/PKEY_Title) "Win32_UI_Shell_PropertiesSystem", # P5-36 jump list (IPropertyStore/PKEY_Title)
"Win32_UI_WindowsAndMessaging", "Win32_UI_WindowsAndMessaging",
] } ] }
+5 -3
View File
@@ -46,11 +46,13 @@ pub fn set_jump_list(app: AppHandle, items: Vec<JumpItem>) -> Result<(), String>
Win32::{ Win32::{
Storage::EnhancedStorage::PKEY_Title, Storage::EnhancedStorage::PKEY_Title,
System::Com::{ System::Com::{
CoCreateInstance, CoInitializeEx, CoUninitialize, IObjectArray, CoCreateInstance, CoInitializeEx, CoUninitialize,
IObjectCollection, StructuredStorage::PROPVARIANT, CLSCTX_INPROC_SERVER, StructuredStorage::PROPVARIANT, CLSCTX_INPROC_SERVER, COINIT_APARTMENTTHREADED,
COINIT_APARTMENTTHREADED,
}, },
UI::Shell::{ UI::Shell::{
// IObjectArray/IObjectCollection live in Shell::Common
// (feature Win32_UI_Shell_Common), NOT Shell or System::Com.
Common::{IObjectArray, IObjectCollection},
DestinationList, EnumerableObjectCollection, ICustomDestinationList, DestinationList, EnumerableObjectCollection, ICustomDestinationList,
IShellLinkW, PropertiesSystem::IPropertyStore, ShellLink, IShellLinkW, PropertiesSystem::IPropertyStore, ShellLink,
}, },