Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
e4978a9
add dlls to bundle
devgony Jul 9, 2025
6d08333
remove onnx, bundle without dlls folder
devgony Jul 9, 2025
75109f3
use externalBin syntax
devgony Jul 9, 2025
f57d2c7
revert dlls config with dir
devgony Jul 9, 2025
5346c4c
add dlls to bundle
devgony Jul 9, 2025
b2c624e
remove onnx, bundle without dlls folder
devgony Jul 9, 2025
08a4316
use externalBin syntax
devgony Jul 9, 2025
80b7316
revert dlls config with dir
devgony Jul 9, 2025
a7729e7
bump
yujonglee Jul 9, 2025
b56e3ab
wip
yujonglee Jul 10, 2025
c177590
Visual C++ Redistributable with hooks
devgony Aug 18, 2025
62a3ebd
Merge remote-tracking branch 'upstream/main' into bundle-dll
devgony Aug 18, 2025
d9165d9
add all dlls to resources including DirectML
devgony Aug 24, 2025
f71062f
add load-dynamic, copydylibs to ort features
devgony Aug 24, 2025
20b47d4
Set ORT_DYLIB_PATH in installer to fix silent exits on new laptops
devgony Aug 24, 2025
7b60b62
Add comprehensive logging for ORT/Whisper initialization debugging
devgony Aug 25, 2025
40a76f7
Identify CPU architecture compatibility issue causing whisper crashes
devgony Aug 25, 2025
78b1877
set whisper env
devgony Aug 27, 2025
87d2af1
Enhance Windows deployment compatibility with comprehensive dependenc…
devgony Aug 27, 2025
b055508
Fix whisper crash with better dependency validation and panic handling
devgony Aug 29, 2025
76cbc24
Fix type errors in whisper error handling
devgony Aug 29, 2025
1b5233b
Add CPU feature validation for whisper.cpp compatibility
devgony Aug 29, 2025
5bb6ba7
remove database_path
devgony Aug 29, 2025
08e7297
Force generic x86-64 CPU build to fix cross-generation compatibility
devgony Aug 30, 2025
366420e
Add bindgen fixes for whisper-rs compilation compatibility
devgony Aug 31, 2025
c1ea674
Set generic x86-64 CPU target globally for maximum compatibility
devgony Aug 31, 2025
4d84acb
set WHISPER_USE_PROCESS = 1
devgony Sep 1, 2025
377c378
use devgony/whisper-rs
devgony Sep 1, 2025
8cff74c
add cpu_check
devgony Sep 1, 2025
48420de
sync stable to staging
devgony Sep 1, 2025
8770072
Merge remote-tracking branch 'upstream/bundle-dll' into bundle-dll
devgony Sep 1, 2025
7d0551f
enable windows cd
devgony Sep 1, 2025
39042e5
comment out x86-64
devgony Sep 1, 2025
903266e
Update whisper-rs to devgony fork and add Windows artifact upload
devgony Sep 1, 2025
2894ffa
Merge remote-tracking branch 'upstream/main' into bundle-dll
devgony Sep 1, 2025
541fb68
Fix cargo config merge error by converting env vars to table format
devgony Sep 1, 2025
6d2672a
revert redundants
devgony Sep 1, 2025
626ba76
remove copy-dylibs
devgony Sep 1, 2025
276354f
remove log crate
devgony Sep 1, 2025
332abb8
Fix platform-specific compilation issues in detect crate
devgony Sep 1, 2025
c1845d5
remove log crate on Cargo.lock
devgony Sep 1, 2025
7a3bf78
Merge remote-tracking branch 'upstream/main' into bundle-dll
devgony Sep 4, 2025
d374c3a
dprint fmt
devgony Sep 4, 2025
5860519
revert force = true
devgony Sep 7, 2025
d526dc2
remove load-dynamic on prod
devgony Sep 7, 2025
d6c82cf
remove c++ hooks
devgony Sep 7, 2025
3fe2b93
dprint fmt
devgony Sep 7, 2025
6839c46
Merge remote-tracking branch 'upstream/main' into bundle-dll
devgony Sep 7, 2025
eed7154
remove redundant import
devgony Sep 7, 2025
1267c42
revert locales
devgony Sep 7, 2025
17bb71f
Merge remote-tracking branch 'upstream/main' into bundle-dll
devgony Sep 7, 2025
05cd0c4
dprint fmt
devgony Sep 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/desktop_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
channel: ${{ env.RELEASE_CHANNEL }}
framework: tauri
working-directory: ./apps/desktop
- if: ${{ env.RELEASE_CHANNEL == 'staging' }}
- if: ${{ env.RELEASE_CHANNEL == 'staging' && matrix.platform == 'macos' }}
run: |
cd apps/desktop/src-tauri/target/${{ matrix.target }}/release
tar -czf hyprnote-staging-${{ matrix.target }}.tar.gz bundle/
Expand All @@ -146,6 +146,14 @@ jobs:
name: hyprnote-staging-${{ matrix.target }}
path: apps/desktop/src-tauri/target/${{ matrix.target }}/release/hyprnote-staging-${{ matrix.target }}.tar.gz
retention-days: 3
- if: ${{ env.RELEASE_CHANNEL == 'staging' && matrix.platform == 'windows' }}
uses: actions/upload-artifact@v4
with:
name: hyprnote-staging-${{ matrix.target }}
path: |
apps/desktop/src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
apps/desktop/src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe
retention-days: 3
publish:
if: ${{ ((github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/')) || (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'desktop_'))) }}
needs: build
Expand Down
Binary file added apps/desktop/src-tauri/dlls/DirectML.dll
Binary file not shown.
Binary file added apps/desktop/src-tauri/dlls/msvcp140.dll
Binary file not shown.
Binary file added apps/desktop/src-tauri/dlls/msvcp140_1.dll
Binary file not shown.
Binary file added apps/desktop/src-tauri/dlls/vcruntime140.dll
Binary file not shown.
Binary file added apps/desktop/src-tauri/dlls/vcruntime140_1.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/desktop/src-tauri/tauri.conf.stable.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
}
},
"bundle": {
"resources": {
"dlls/*": "./"
},
"macOS": {
"files": {
"embedded.provisionprofile": "assets/hyprnote-stable.provisionprofile"
Expand Down
3 changes: 3 additions & 0 deletions apps/desktop/src-tauri/tauri.conf.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"icons/staging/icon.icns",
"icons/staging/icon.ico"
],
"resources": {
"dlls/*": "./"
},
"macOS": {
"dmg": {
"background": "assets/dmg-background-nightly.png"
Expand Down
2 changes: 1 addition & 1 deletion crates/detect/src/app/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pub struct Detector {}

impl crate::Observer for Detector {
fn start(&mut self, f: crate::DetectCallback) {}
fn start(&mut self, _f: crate::DetectCallback) {}
fn stop(&mut self) {}
}
13 changes: 10 additions & 3 deletions crates/detect/src/list/macos.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use cidre::core_audio as ca;

use super::InstalledApp;
use std::path::PathBuf;
use cidre::core_audio as ca;

#[cfg(target_os = "macos")]
pub fn list_installed_apps() -> Vec<InstalledApp> {
use std::path::PathBuf;

let app_dirs = [
"/Applications",
&format!("{}/Applications", std::env::var("HOME").unwrap_or_default()),
Expand Down Expand Up @@ -39,6 +40,12 @@ pub fn list_installed_apps() -> Vec<InstalledApp> {
apps
}

#[cfg(not(target_os = "macos"))]
pub fn list_installed_apps() -> Vec<InstalledApp> {
Vec::new()
}

#[cfg(target_os = "macos")]
pub fn list_mic_using_apps() -> Vec<InstalledApp> {
let processes = ca::System::processes().ok().unwrap();

Expand Down
2 changes: 1 addition & 1 deletion crates/detect/src/mic/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pub struct Detector {}

impl crate::Observer for Detector {
fn start(&mut self, f: crate::DetectCallback) {}
fn start(&mut self, _f: crate::DetectCallback) {}
fn stop(&mut self) {}
}
Loading