Skip to content

Commit 86cb22f

Browse files
committed
Run Windows portable build without a console window
1 parent 855740e commit 86cb22f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/windows-portable.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414

1515
- uses: dtolnay/rust-toolchain@stable
1616

17+
- uses: Swatinem/rust-cache@v2
18+
with:
19+
workspaces: . -> target
20+
1721
- uses: actions/setup-node@v4
1822
with:
1923
node-version: 22

‎apps/desktop/src-tauri/src/main.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
2+
13
fn main() {
24
codex_notify_desktop_lib::run()
35
}

0 commit comments

Comments
 (0)