Skip to content

Commit ac67630

Browse files
committed
🐛 fix linux asset ripper exe detection
1 parent 3a34833 commit ac67630

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bin/mltd/extract.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ fn default_asset_ripper_path() -> PathBuf {
8787
let mut path = std::env::current_exe().expect("failed to get current executable path");
8888
path.pop();
8989
path.push("AssetRipper");
90-
path.push("AssetRipper.GUI.Free");
90+
91+
path.push(match cfg!(windows) {
92+
true => "AssetRipper.GUI.Free.exe",
93+
false => "AssetRipper.GUI.Free",
94+
});
9195

9296
path
9397
}

0 commit comments

Comments
 (0)