File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 - name : install Rust stable
4747 uses : dtolnay/rust-toolchain@stable
4848 with :
49- # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
50- targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
49+ targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || (matrix.args == '--target aarch64-pc-windows-msvc' && 'aarch64-pc-windows-msvc') || '' }}
5150
5251 - name : install dependencies (ubuntu only)
5352 if : runner.os == 'Linux'
Original file line number Diff line number Diff line change 22use tauri:: { AppHandle , Emitter , Manager } ;
33
44#[ cfg( any( target_os = "windows" , target_os = "linux" ) ) ]
5- fn show_window ( app : & AppHandle , args : Vec < String > ) {
5+ pub fn show_window ( app : & AppHandle , args : Vec < String > ) {
66 let windows = app. webview_windows ( ) ;
77 let main_window = windows. values ( ) . next ( ) . expect ( "Sorry, no window found" ) ;
88
You can’t perform that action at this time.
0 commit comments