Best way to make an auto updater for node webkit games?

Get help using Construct 2

Post » Fri Feb 06, 2015 5:14 am

I don't know where to begin with this one. I want to have the game check if files stored online are the same as ones in the user's folder and to replace the out of date ones respectively with the online versions.
B
42
S
12
G
1
Posts: 230
Reputation: 3,823

Post » Fri Feb 06, 2015 2:12 pm

Can you be more precise ?
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
54
S
16
G
1
Posts: 245
Reputation: 5,583

Post » Sat Feb 07, 2015 1:50 am

I just want to make an auto updater for my game in C2 if it can be done.

Edit: It needs to be a system that works in Node-Webkit because that's primarily what we're going to release our game on.
B
42
S
12
G
1
Posts: 230
Reputation: 3,823

Post » Sun Feb 08, 2015 7:13 pm

You should look at Ajax calls :
You upload a text file on your server, got it with Ajax and compare software version with Txt file version, then if you find new version, you download all the stuff.
Another solution is, if you have programming skills, you can do an external updater. I will do more researches later.
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
54
S
16
G
1
Posts: 245
Reputation: 5,583

Post » Sun Feb 08, 2015 9:45 pm

It is possible to update just some files with an update ?

because node webkit export pack the game files in one big file no?
B
9
S
3
Posts: 14
Reputation: 653

Post » Mon Feb 09, 2015 4:09 am

Puchisoft Dispatcher is a pretty good updater maker which I use currently but it doesn't work with Linux or iOS. I guess until I find an alternate solution I'll make it run if the person is using Windows or send them to a download page if they're using Linux or iOS.

Which begs the question, how do I check which OS the person is running?
B
42
S
12
G
1
Posts: 230
Reputation: 3,823


Return to How do I....?

Who is online

Users browsing this forum: RaiSen and 8 guests