Skip to content

Commit b2788fe

Browse files
committed
Fix possible bug
1 parent 874d46a commit b2788fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
task openBuildDirFabric {
22
doLast {
3-
def buildDir = file("${project.projectDir}/fabric/build/libs").absolutePath
43
if (System.properties['os.name'].toString().toLowerCase().contains('windows')) {
4+
def buildDir = file("${project.projectDir}/neoforge/build/libs").absolutePath
55
def command = ['explorer', buildDir]
66
new ProcessBuilder(command).start()
77
} else {
@@ -12,8 +12,8 @@ task openBuildDirFabric {
1212

1313
task openBuildDirNeoForge {
1414
doLast {
15-
def buildDir = file("${project.projectDir}/neoforge/build/libs").absolutePath
1615
if (System.properties['os.name'].toString().toLowerCase().contains('windows')) {
16+
def buildDir = file("${project.projectDir}/neoforge/build/libs").absolutePath
1717
def command = ['explorer', buildDir]
1818
new ProcessBuilder(command).start()
1919
} else {

0 commit comments

Comments
 (0)