Skip to content

Commit a7af857

Browse files
Create compat data dir on any non-Windows platform
1 parent efbda44 commit a7af857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ async fn prep_launch(
579579
cmd = util::gen_launch_command(cmd, launch_fmt);
580580
}
581581

582-
#[cfg(target_os = "linux")]
582+
#[cfg(not(target_os = "windows"))]
583583
{
584584
// The compat data dir is, in order of priority:
585585
// 1. WINEPREFIX env var in the launch command, if set

0 commit comments

Comments
 (0)