aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2021-01-29 18:04:39 +0000
committerGitHub <noreply@github.com>2021-01-29 18:04:39 +0000
commit6a315be278216e04f8b2d741a346c9af54eaf4f4 (patch)
treee09ef0bab3f232a93c4ca7ee40012eacb0b5064e /src/main/resources
parent17fb2b4656f8f78bc578b35f8285edb03789f4d1 (diff)
downloadarchitectury-loom-6a315be278216e04f8b2d741a346c9af54eaf4f4.tar.gz
architectury-loom-6a315be278216e04f8b2d741a346c9af54eaf4f4.tar.bz2
architectury-loom-6a315be278216e04f8b2d741a346c9af54eaf4f4.zip
Improve run configs (#318) (#338)
Co-authored-by: ShadewRG <onankman@gmail.com> Co-authored-by: UndeadCat | Shadew <redgalaxysw@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/eclipse_run_config_template.xml2
-rw-r--r--src/main/resources/idea_run_config_template.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/eclipse_run_config_template.xml b/src/main/resources/eclipse_run_config_template.xml
index c8697299..cff2835c 100644
--- a/src/main/resources/eclipse_run_config_template.xml
+++ b/src/main/resources/eclipse_run_config_template.xml
@@ -12,5 +12,5 @@
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="%PROGRAM_ARGS%"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="%ECLIPSE_PROJECT%"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="%VM_ARGS%"/>
- <stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:%ECLIPSE_PROJECT%}/run"/>
+ <stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:%ECLIPSE_PROJECT%}/%RUN_DIRECTORY%"/>
</launchConfiguration>
diff --git a/src/main/resources/idea_run_config_template.xml b/src/main/resources/idea_run_config_template.xml
index 1e85bbbe..0891bc84 100644
--- a/src/main/resources/idea_run_config_template.xml
+++ b/src/main/resources/idea_run_config_template.xml
@@ -4,9 +4,9 @@
<module name="%IDEA_MODULE%" />
<option name="PROGRAM_PARAMETERS" value="%PROGRAM_ARGS%" />
<option name="VM_PARAMETERS" value="%VM_ARGS%" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/run/" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/%RUN_DIRECTORY%/" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
-</component> \ No newline at end of file
+</component>