@@ -15,17 +15,14 @@ use crate::{
1515 window:: { PendingWindow , WindowEvent as RuntimeWindowEvent } ,
1616 ExitRequestedEventAction , RunEvent as RuntimeRunEvent ,
1717 } ,
18- scope:: IpcScope ,
18+ scope,
1919 sealed:: { ManagerBase , RuntimeOrDispatch } ,
2020 utils:: config:: Config ,
2121 utils:: { assets:: Assets , Env } ,
2222 Context , DeviceEventFilter , EventLoopMessage , Icon , Manager , Monitor , Runtime , Scopes ,
2323 StateManager , Theme , Window ,
2424} ;
2525
26- #[ cfg( feature = "protocol-asset" ) ]
27- use crate :: scope:: FsScope ;
28-
2926#[ cfg( desktop) ]
3027use crate :: menu:: { Menu , MenuEvent } ;
3128#[ cfg( all( desktop, feature = "tray-icon" ) ) ]
@@ -1576,9 +1573,12 @@ impl<R: Runtime> Builder<R> {
15761573 app. manage ( env) ;
15771574
15781575 app. manage ( Scopes {
1579- ipc : IpcScope :: new ( & app. config ( ) ) ,
1576+ ipc : scope :: ipc :: Scope :: new ( & app. config ( ) ) ,
15801577 #[ cfg( feature = "protocol-asset" ) ]
1581- asset_protocol : FsScope :: for_fs_api ( & app, & app. config ( ) . tauri . security . asset_protocol . scope ) ?,
1578+ asset_protocol : scope:: fs:: Scope :: for_fs_api (
1579+ & app,
1580+ & app. config ( ) . tauri . security . asset_protocol . scope ,
1581+ ) ?,
15821582 } ) ;
15831583
15841584 app. manage ( ChannelDataIpcQueue :: default ( ) ) ;
0 commit comments