Skip to content

Commit

Permalink
Removed "." prefix from minecraft check for mac fix
Browse files Browse the repository at this point in the history
  • Loading branch information
exejar committed Mar 15, 2024
1 parent d9a65b9 commit dacff69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fn fetch_minecraft_processes(app_state: State<AppState>) -> Vec<MinecraftProcess
}

// Rudimentary check for if the process is Minecraft
if !proc.cmd().iter().any(|arg| arg.contains(".minecraft")) {
if !proc.cmd().iter().any(|arg| arg.contains("minecraft")) {
return None
}

Expand Down

0 comments on commit dacff69

Please sign in to comment.