<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 the launcher's working folder with extra environment variables:</p><ul><li>$INST_NAME - Name of the instance</li><li>$INST_ID - ID of the instance (its folder name)</li><li>$INST_DIR - absolute path of the instance</li><li>$INST_MC_DIR - absolute path of Minecraft</li><li>$INST_JAVA - Java binary used for launch</li><li>$INST_JAVA_ARGS - command-line parameters used for launch (warning: will not work correctly if arguments contain spaces)</li></ul><p>Wrapper command allows launching using an extra wrapper program (like 'optirun' on Linux)</p></body></html>
<p><u>起動前指令</u>は構成実例の起動の前に実行される。<u>終了後指令</u>は構成実例の終了の後に実行される。</p>
<p>どちらの指令も PolyMC の作動場所で実行され,以下の環境変数も使える:</p>
<ul>
<li>$INST_NAME - 構成実例の名前</li>
<li>$INST_ID - 構成実例の識別子 (その文件集の名前)</li>
<li>$INST_DIR - 構成実例への絶対経路</li>
<li>$INST_MC_DIR - Minecraft への絶対経路</li>
<li>$INST_JAVA - 実行に使われる Java の実行可能文件</li>
<li>$INST_JAVA_ARGS - 実行に使われる命令行の引数</li>
</ul>
<p><u>内包指令 (wrapper command)</u>は,追加の包装程式 (wrapper program) で構成実例を起動できます (Linux の "optirun"のような程式)。</p>
</body></html>