It makes it very easy to distribute desktop programs. Also, after installation, if it is automatically checked for updates at the next startup, it will be downloaded and started after updating.
Simply pass the two files to the user and you're ready to install.
https://github.com/mikeshimura/mike_launcher
For example, for an application called javadesktop.
$ javadesktop.ini and javadesktop.exe (for windows) or javadesktop (for Mac)
Keep the Zip file and other update files in Amazon S3.
At the first installation, the Zip file will be downloaded and unzipped. Then, the update file will be downloaded.
The program then executes the command and the actual program runs.
The next time you start it, check the S3 repository to see if the update file is up to date, and if so, download it.
The program then executes the command and the actual program runs.
The contents of $ godesktop.ini are as follows.
[default]
OS = WIN
REGION = us-east-1
AWS_ACCESS_KEY_ID = AKIAXXXXxXX
AWS_SECRET_ACCESS_KEY = XXXXXXXXXXXXXXXXXXXX
BUCKET =desktoptool
ZIP = $javadesktop.zip
WATCH= $javadesktop-watch.txt
HIS = $his.json
UNZIP = classes.zip
CMD = java -cp lib/*;classes com.mssoftech.javadesktop.Application
OS is WIN or MAC
HIS is the name of the history (update record) file.
UNZIP = classes.zip This will be automatically unzipped after downloading if necessary.
Create the AWS key in IAM and give only the read permission of S3.
The contents of $ godesktop-watch.txt are as follows.
assets/tag/index.tag
assets/tag/tagcommon.js
godesktopwin.exe
Please download mike_launcher.exe or mike_launcher from the following, change the name of your application and use it.
https://drive.google.com/open?id=1tIh_Ye-6uCAvrXBI7OWG_L7LFq_2ukKs
Recommended Posts