File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ pub fn run() {
6363 std:: env:: set_var ( "WEBKIT_DISABLE_DMABUF_RENDERER" , "1" ) ;
6464
6565 tauri:: Builder :: default ( )
66- . plugin ( tauri_plugin_process:: init ( ) )
67- . plugin ( tauri_plugin_updater:: Builder :: new ( ) . build ( ) )
6866 . plugin ( tauri_plugin_store:: Builder :: new ( ) . build ( ) )
6967 . plugin ( tauri_plugin_http:: init ( ) )
7068 . plugin ( tauri_plugin_dialog:: init ( ) )
@@ -78,7 +76,12 @@ pub fn run() {
7876 window. open_devtools ( ) ;
7977 }
8078 #[ cfg( desktop) ]
81- app. handle ( ) . plugin ( tauri_plugin_cli:: init ( ) ) ?;
79+ {
80+ app. handle ( ) . plugin ( tauri_plugin_cli:: init ( ) ) ?;
81+ app. handle ( ) . plugin ( tauri_plugin_process:: init ( ) ) ?;
82+ app. handle ( )
83+ . plugin ( tauri_plugin_updater:: Builder :: new ( ) . build ( ) ) ?;
84+ }
8285 Ok ( ( ) )
8386 } )
8487 . invoke_handler ( tauri:: generate_handler![
You can’t perform that action at this time.
0 commit comments