Hi there here is my Game Launcher
How to Use
Launcher.ini
Code:
[Settings]
url=example.local <-- URL without http://
version=0.0.0 <-- dont change this
appid=subdir <-- subdir on your webhost without "/"
gamename=Samplegame <-- Window Title
Release Game for Windows and Zip only package.json and www folder
Code:
0.0.1.zip
|-- package.json
|-- www
|-- index.html
+-- audio
+-- data
+-- fonts
+-- icon
+-- img
+-- js
+-- movies
on your Webserver
create a subdir (same name as appid=)
Code:
www
|-- subdir <--- Same as appdir=
|-- temp.ini <--- List with version names
|-- 0.0.1.zip <--- Updates with version numbers
|-- 0.0.2.zip <--- Updates with version numbers
copy your zipped game and rename it to 0.0.1.zip
create new file temp.ini
if you want to release a update only copy new files to a new zip file and increase the version numer
and the add a new line to the temp.ini with [0.0.2] and so on
All Versions
https://www.mediafire.com/folder/ftmwk7g56lgqg/Launcher
This Launcher uses 7zip and comes with NWJS 0.16.1
Source:
http://pastebin.com/SGiQyT0k
Tarumes CC-by-2.0