File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 rust-target : ' '
3737 tauri-args : ' '
3838 type : ' desktop'
39- upload-updater : true
4039 # macOS ARM Build
4140 - os : macos-latest
4241 rust-target : ' aarch64-apple-darwin'
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ async function loadsamplebody() {
3333 const python_sidecar_button = $ ( '<button class="action-btn">Spawn Python Sidecar</button>' ) ;
3434 const kill_sidecars_button = $ ( '<button class="action-btn kill-btn">Kill All Sidecars</button>' ) ;
3535 const list_sidecars_button = $ ( '<button class="action-btn">List Running Sidecars</button>' ) ;
36- const update_app_button = $ ( '<button class="action-btn">Check for Updates</button>' ) ;
3736 const greet_button = $ ( '<button class="action-btn">Greet Rust</button>' ) ;
3837
3938 const output = $ ( '<div id="output"></div>' ) ;
@@ -103,17 +102,6 @@ async function loadsamplebody() {
103102 logToOutput ( 'All sidecars termination signal sent.' , 'info' ) ;
104103 } ) ;
105104
106- update_app_button . on ( 'click' , async ( ) => {
107- logToOutput ( 'Checking for updates...' ) ;
108- try {
109- await Tauri . updater . check ( true ) ;
110- } catch ( e ) {
111- const errorMsg = e instanceof Error ? e . message : ( typeof e === 'string' ? e : JSON . stringify ( e ) ) ;
112- logToOutput ( `Update check failed: ${ errorMsg } ` , 'error' ) ;
113- console . error ( 'Update Error:' , e ) ;
114- }
115- } ) ;
116-
117105 greet_button . on ( 'click' , async ( ) => {
118106 if ( window . __TAURI__ ) {
119107 try {
@@ -133,7 +121,6 @@ async function loadsamplebody() {
133121 python_sidecar_button ,
134122 list_sidecars_button ,
135123 kill_sidecars_button ,
136- update_app_button ,
137124 greet_button
138125 ) ,
139126 output
You can’t perform that action at this time.
0 commit comments