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 28, 2020
1 parent fe67c79 commit 4057dd1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/version_check.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function get_with_wildcard($src, $value, $default = null)
}

$versions = [
'1.1.24' => [
'1.1.25' => [
'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' => "- Fix issues caused by forward slashes in folder paths (#519, #520)",
'release_notes' => "- Add touch support\n- Minor UI updates (#538, #540, #541, #543)",
],
'1.1.21' => [
'base_url' => 'https://synctrayzor.antonymale.co.uk/download',
Expand All @@ -107,6 +107,8 @@ function get_with_wildcard($src, $value, $default = null)

$upgrades = [
// No point in upgrading from 1.1.23 for something so minor
'1.1.24' => ['to' => 'latest', 'formatter' => '5'],
'1.1.23' => ['to' => 'latest', 'formatter' => '5'],
'1.1.22' => ['to' => 'latest', 'formatter' => '5'],
'1.1.21' => ['to' => 'latest', 'formatter' => '5'],
'1.1.20' => ['to' => 'latest', 'formatter' => '5'],
Expand Down

0 comments on commit 4057dd1

Please sign in to comment.