File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use tauri::async_runtime::{self, Mutex};
1111use tauri:: ipc:: Invoke ;
1212use tauri:: { Manager , WindowEvent } ;
1313use tauri_plugin_cache:: { CacheConfig , CompressionMethod } ;
14- use tauri_plugin_svelte:: ManagerExt ;
14+ use tauri_plugin_svelte:: { ManagerExt , PrettyJsonMarshaler } ;
1515use twitch_api:: HelixClient ;
1616use twitch_api:: twitch_oauth2:: { AccessToken , UserToken } ;
1717
@@ -86,7 +86,11 @@ pub fn run() {
8686 . plugin ( tauri_plugin_notification:: init ( ) )
8787 . plugin ( tauri_plugin_opener:: init ( ) )
8888 . plugin ( tauri_plugin_os:: init ( ) )
89- . plugin ( tauri_plugin_svelte:: init ( ) )
89+ . plugin (
90+ tauri_plugin_svelte:: Builder :: new ( )
91+ . marshaler ( Box :: new ( PrettyJsonMarshaler ) )
92+ . build ( ) ,
93+ )
9094 . plugin ( tauri_plugin_window_state:: Builder :: new ( ) . build ( ) )
9195 . setup ( |app| {
9296 log:: init_tracing ( app) ;
You can’t perform that action at this time.
0 commit comments