fix auto update issues

This commit is contained in:
Mohit Panjwani
2019-11-17 19:45:05 +05:30
parent 810ff2af8f
commit 9ae2947cec
9 changed files with 201009 additions and 12 deletions

View File

@ -107,7 +107,7 @@ class Updater
public static function checkForUpdate()
{
$data = null;
$url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version');
$url = 'https://craterapp.com/downloads/check/latest/'. Setting::getSetting('version') . '?type=update';
$response = static::getRemote($url, ['timeout' => 100, 'track_redirects' => true]);