Skip to content

Commit 86162f0

Browse files
committed
Show console on Windows for debugging
1 parent 1d4de73 commit 86162f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "console-on-windows" ]
66

77
env:
88
CARGO_TERM_COLOR: always

src-tauri/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
2-
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
2+
//#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
33

44
fn main() {
55
ffbuildtool::set_max_concurrent_downloads(10).unwrap();

0 commit comments

Comments
 (0)