File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11task openBuildDirFabric {
22 doLast {
3- def buildDir = file(" D:/ProgrammingProjects/TimeLoop /fabric/build/libs" ). absolutePath
3+ def buildDir = file(" ${ project.projectDir } /fabric/build/libs" ). absolutePath
44 if (System . properties[' os.name' ]. toString(). toLowerCase(). contains(' windows' )) {
55 def command = [' explorer' , buildDir]
66 new ProcessBuilder (command). start()
@@ -12,7 +12,7 @@ task openBuildDirFabric {
1212
1313task openBuildDirNeoForge {
1414 doLast {
15- def buildDir = file(" D:/ProgrammingProjects/TimeLoop /neoforge/build/libs" ). absolutePath
15+ def buildDir = file(" ${ project.projectDir } /neoforge/build/libs" ). absolutePath
1616 if (System . properties[' os.name' ]. toString(). toLowerCase(). contains(' windows' )) {
1717 def command = [' explorer' , buildDir]
1818 new ProcessBuilder (command). start()
You can’t perform that action at this time.
0 commit comments