Automatic Software Updater: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann |
imported>Kasgel No edit summary |
||
| (45 intermediate revisions by 4 users not shown) | |||
Line 19:
It is easy to add resources such as sounds and images to an official client by creating the folder structure next to the .jar files. So far example create a folder data/sound and place new ogg files in there.
When you are packing the Stendhal client for a Linux distribution, consider to just pack a start-menu entry to the webstarter: <nowiki>javaws http://arianne.sf.net/jws/stendhal.jnlp</nowiki> or <nowiki>https://stendhalgame.org/account/mycharacters.html</nowiki> . This way you comply with the policies that you need to recompile the code (there is no code in the package) and still don't get people angry at your version getting out of date regularly because you broke the official update.▼
=== Creating a simple, normal build without signing (U3, U6) ===
Line 27 ⟶ 25:
In most cases you don't need the updater: The official one is incompatible with your changes and setting up your own one is quite a bit of work that may not worth the trouble.
▲
=== Creating an automatic updater (U7) ===
Line 40 ⟶ 41:
* Export the certificate to a file in stendhal/src/games/stendhal/client/update and adjust the variables in the "Automatic Updates" section
* Create a file build.ant-private.properties in the stendhal root folder with
* Make sure you never ever give keystore.ks or the build.ant-private.properties away
| |||