File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,16 +101,16 @@ jobs:
101101 - run : pnpm -F ui build
102102 - if : ${{ matrix.include_am }}
103103 run : |
104- aws s3 cp s3://argmax/stt apps/desktop/src-tauri/binaries/stt-${{ matrix.target }} \
104+ aws s3 cp s3://argmax/stt apps/desktop/src-tauri/binaries/hyprnote-sidecar- stt-${{ matrix.target }} \
105105 --endpoint-url ${{ secrets.CLOUDFLARE_R2_ENDPOINT_URL }} \
106106 --region auto
107107 env :
108108 AWS_ACCESS_KEY_ID : ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
109109 AWS_SECRET_ACCESS_KEY : ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
110110 - if : ${{ matrix.include_am }}
111111 run : |
112- chmod +x ./apps/desktop/src-tauri/binaries/stt-${{ matrix.target }}
113- ./scripts/sidecar.sh "./apps/desktop/${{ env.TAURI_CONF_PATH }}" "binaries/stt"
112+ chmod +x ./apps/desktop/src-tauri/binaries/hyprnote-sidecar- stt-${{ matrix.target }}
113+ ./scripts/sidecar.sh "./apps/desktop/${{ env.TAURI_CONF_PATH }}" "binaries/hyprnote-sidecar- stt"
114114 # - run: ./scripts/resource.sh "./apps/desktop/${{ env.TAURI_CONF_PATH }}" "resources/libonnxruntime.dylib"
115115 - uses : ./.github/actions/apple_cert
116116 id : apple-cert
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub enum ProcessMatcher {
2525pub fn kill_processes_by_matcher ( matcher : ProcessMatcher ) -> u16 {
2626 let target = match matcher {
2727 ProcessMatcher :: Name ( name) => name,
28- ProcessMatcher :: Sidecar => "stt " . to_string ( ) ,
28+ ProcessMatcher :: Sidecar => "hyprnote-sidecar " . to_string ( ) ,
2929 } ;
3030
3131 let mut sys = sysinfo:: System :: new ( ) ;
@@ -78,6 +78,6 @@ mod tests {
7878 #[ test]
7979 fn test_kill_processes_by_matcher ( ) {
8080 let killed_count = kill_processes_by_matcher ( ProcessMatcher :: Sidecar ) ;
81- assert ! ( killed_count > 0 ) ;
81+ assert ! ( killed_count == 0 ) ;
8282 }
8383}
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ async fn start_external_server<R: Runtime, T: Manager<R>>(
484484 external:: CommandBuilder :: new ( move || {
485485 app_handle
486486 . shell ( )
487- . sidecar ( "stt" )
487+ . sidecar ( "hyprnote-sidecar- stt" )
488488 . expect ( "failed to create sidecar command" )
489489 . current_dir ( dirs:: home_dir ( ) . unwrap ( ) )
490490 . args ( [ "serve" , "--any-token" ] )
You can’t perform that action at this time.
0 commit comments