summaryrefslogtreecommitdiffstats
path: root/gui/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-11-09 01:20:09 +0100
committerPetr Mrázek <peterix@gmail.com>2014-11-09 01:20:09 +0100
commitcc19159f4d20c65a1639f89dbe72ec17c3cc1243 (patch)
treebc719fcc3ed413ff2b9ae9c63c2d1dcc97805c7f /gui/pages
parent587fedce84207dd772a6f2dec5d53ceeb2bbf18a (diff)
downloadMultiMC-cc19159f4d20c65a1639f89dbe72ec17c3cc1243.tar
MultiMC-cc19159f4d20c65a1639f89dbe72ec17c3cc1243.tar.gz
MultiMC-cc19159f4d20c65a1639f89dbe72ec17c3cc1243.tar.lz
MultiMC-cc19159f4d20c65a1639f89dbe72ec17c3cc1243.tar.xz
MultiMC-cc19159f4d20c65a1639f89dbe72ec17c3cc1243.zip
Document pre/post commands better
Fixes #398
Diffstat (limited to 'gui/pages')
-rw-r--r--gui/pages/InstanceSettingsPage.ui5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/pages/InstanceSettingsPage.ui b/gui/pages/InstanceSettingsPage.ui
index b141dbca..696806c4 100644
--- a/gui/pages/InstanceSettingsPage.ui
+++ b/gui/pages/InstanceSettingsPage.ui
@@ -391,11 +391,8 @@
</item>
<item>
<widget class="QLabel" name="labelCustomCmdsDescription">
- <property name="enabled">
- <bool>false</bool>
- </property>
<property name="text">
- <string>Pre-launch command runs before the instance launches and post-exit command runs after it exits. Both will be run in MultiMC's working directory with INST_ID, INST_DIR, and INST_NAME as environment variables.</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Pre-launch command runs before the instance launches and post-exit command runs after it exits.&lt;/p&gt;&lt;p&gt;Both will be run in MultiMC's working directory with extra environment variables:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_NAME - Name of the instance&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_ID - ID of the instance&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_DIR - absolute path of the instance&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_MC_DIR - absolute path of minecraft&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_JAVA - java binary used for launch&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;INST_JAVA_ARGS - command-line parameters used for launch&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>