Skip to content

Commit

Permalink
fix autodetect of dmd for new projects on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nairboon authored and SingingBush committed May 25, 2024
1 parent 84a7dd1 commit db3a459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/github/intellij/dlanguage/DlangSdkType.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public class DlangSdkType extends SdkType {
} else if (SystemInfo.isUnix) {
// The official .rpm and .deb installers are the priority
DEFAULT_DMD_PATHS = new File[] {
new File("/usr/bin/dmd"), // Fedora (official .rpm), note that Arch also uses this path
new File("/usr/local/bin/dmd"), // Ubuntu
new File("/usr/bin"), // Debian, Ubuntu & Fedora (official .rpm), note that Arch also uses this path
new File("/usr/local/bin"),
new File("/snap/bin/dmd") // snapcraft.io (symlink to /snap/dmd/current/bin/dmd)
};
// the path to D documentation should contain "index.html"
Expand Down

0 comments on commit db3a459

Please sign in to comment.