Shows how to package your application in an installer along side getdown. Getdown will update the app each time the app is opened.
- Clone or download this repository (or copy the structure)
- You need to install NSIS for generating the native installer.
- Fill in, change, or comment out anything in
pom.xml
that is labeled withFILLMEIN
. - Provide your own images
- You can replace
myapp.ico
with your own icon- You'll need to either rename your icon or rename all of the "myapp.ico" in
installationConfiguration.nsi
- You'll need to either rename your icon or rename all of the "myapp.ico" in
- You can replace
myappsmall.ico
with your own icon- You'll need to either rename your icon or rename all of the "myappsmall.ico" in
installationConfiguration.nsi
- You'll need to either rename your icon or rename all of the "myappsmall.ico" in
- You can replace
myappbanner.bmp
with your own banner- You'll need to either rename your banner or rename all of the "myappbanner.bmp" in
installationConfiguration.nsi
- You'll need to either rename your banner or rename all of the "myappbanner.bmp" in
- You can replace
- Choose a license and put it in
nsis/License.txt
- Add some instructions for the user to
nsis/Readme.txt
- Run
mvn package
- This will generate 3 folders in the
target
directory:getdown
,getdown-stub
, andgetdown-applet
- The
getdown
folder contains everything that getdown needs in order to perform an update. - The
getdown-stub
folder contains everything that the installer needs. - The
getdown-applet
folder contains everything you need to deploy the application as an applet.
- The
- Copy the contents of
target/getdown
to your website/local webserver- (make sure it's located specifically at whatever you put in
appbase
).
- (make sure it's located specifically at whatever you put in
- Run the installer; this will
- download the application from your website/local webserver
- and install the application on your computer.
- Change something in your app
- Run
mvn package
- Upload the contents of the
getdown
folder to your website/local webserver.- Make sure it's placed exactly at
appbase
- Make sure it's placed exactly at
- Open up the application from the start menu
- Watch your program update itself.
- To learn how Getdown works see the Getdown documentation