Support launching an arbitrary mod. Hook up package detection for cnc.

This commit is contained in:
Paul Chote
2010-11-17 13:49:30 +13:00
parent f42f39f9c9
commit 3dc16bdbb4
15 changed files with 128 additions and 45 deletions

View File

@@ -2,6 +2,6 @@
<body>
<h1>Example Mod</h1>
<h2>Demonstrates how to add a new unit by adding a soviet supply truck.</h2>
<input type="button" class="button" onclick="window.external.launchCurrentMod();" value="Play" />
<input type="button" class="button" onclick="window.external.launchMod('example')" value="Play" />
</body>
</html>