Skip to content

Commit

Permalink
Update version_check.php
Browse files Browse the repository at this point in the history
  • Loading branch information
canton7 committed Dec 31, 2020
1 parent c74cf2a commit 0e057bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/version_check.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
*/

set_error_handler('error_handler');
date_default_timezone_set('UCT');
date_default_timezone_set('UTC');
header('Content-Type: application/json');

function error_handler($severity, $message, $filename, $lineno)
Expand All @@ -65,7 +65,7 @@ function get_with_wildcard($src, $value, $default = null)
}

$versions = [
'1.1.25' => [
'1.1.26' => [
'base_url' => 'https://github.com/canton7/SyncTrayzor/releases/download',
'installed' => [
'direct_download_url' => [
Expand All @@ -82,7 +82,7 @@ function get_with_wildcard($src, $value, $default = null)
'sha1sum_download_url' => "{base_url}/v{version}/sha1sum.txt.asc",
'sha512sum_download_url' => "{base_url}/v{version}/sha512sum.txt.asc",
'release_page_url' => 'https://github.com/canton7/SyncTrayzor/releases/tag/v{version}',
'release_notes' => "- Add touch support\n- Minor UI updates (#538, #540, #541, #543)",
'release_notes' => "- Add touch support\n- Minor UI updates (#538, #540, #541, #543)\n- Uninstaller tries to remove autostart registry keys (#586)",
],
'1.1.21' => [
'base_url' => 'https://synctrayzor.antonymale.co.uk/download',
Expand All @@ -106,7 +106,7 @@ function get_with_wildcard($src, $value, $default = null)
];

$upgrades = [
// No point in upgrading from 1.1.23 for something so minor
'1.1.25' => ['to' => 'latest', 'formatter' => '5', 'overrides' => ['release_notes' => "- Fix the problems in v1.1.25 (#594, #595, #596, #597)\n- Uninstaller tries to remove autostart registry keys (#586)"]],
'1.1.24' => ['to' => 'latest', 'formatter' => '5'],
'1.1.23' => ['to' => 'latest', 'formatter' => '5'],
'1.1.22' => ['to' => 'latest', 'formatter' => '5'],
Expand Down

0 comments on commit 0e057bb

Please sign in to comment.