Skip to content

Commit 2da4818

Browse files
committed
fix warning on non unix
1 parent 6c2981e commit 2da4818

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src-tauri/src/paths.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub const WINDOWS_EXE_EXTENSION: &str = "exe";
99

1010
// This is used to exclude certain file types from being detected as executables. This will match any part of the file extension!
1111
// For example, "file.so.lol" will be excluded because it contains "so"
12+
#[cfg(target_family = "unix")]
1213
pub const EXCLUDED_EXE_FILE_EXTENSIONS: [&str; 2] = ["ndll", "so"];
1314

1415
/// Allows engine detectors to find out what type of executable they found, used for wine support

0 commit comments

Comments
 (0)