diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-09 01:20:09 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-09 01:20:09 +0100 |
commit | cc19159f4d20c65a1639f89dbe72ec17c3cc1243 (patch) | |
tree | bc719fcc3ed413ff2b9ae9c63c2d1dcc97805c7f /gui/pages | |
parent | 587fedce84207dd772a6f2dec5d53ceeb2bbf18a (diff) | |
download | MultiMC-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.ui | 5 |
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><html><head/><body><p>Pre-launch command runs before the instance launches and post-exit command runs after it exits.</p><p>Both will be run in MultiMC's working directory with extra environment variables:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_NAME - Name of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_ID - ID of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_DIR - absolute path of the instance</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_MC_DIR - absolute path of minecraft</li><li style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_JAVA - java binary used for launch</li><li style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">INST_JAVA_ARGS - command-line parameters used for launch</li></ul></body></html></string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |