64bit Anpassungen

Name der Distro angepasst
Max Value in Statistiken angepasst
Hash Verfahren auf SHA256 umgestellt
This commit is contained in:
Gregor Schulte
2022-02-09 09:40:58 +01:00
parent 79fc07e010
commit 1e60371abe
6 changed files with 475 additions and 556 deletions

View File

@@ -10,13 +10,13 @@ if (!isset($config))
'ssh_ip' => '127.0.0.1'
),
'version' => array(
'version' => '2.3.0',
'versioncode' => 31,
'version' => '2.3.1beta1',
'versioncode' => 32,
'android_comp_level' => 25
),
'url' => array(
'update' => 'https://pic.die-schultes.eu/service/v1/update/',
'updateDownload' => 'https://www.die-schultes.eu/wp-content/uploads/',
'updateDownload' => 'https://bugs.die-schultes.eu/attachments/',
'updateNotification' => 'https://pi-control.de/?service=update_notification',
'plugin' => 'https://pi-control.de/service/v1/plugin/',
'pluginDownload' => 'https://pi-control.de/?service=plugin',

File diff suppressed because it is too large Load Diff

View File

@@ -84,7 +84,7 @@ $statisticConfig = array(
'fix' => true
),
'max' => array(
'value' => 1200,
'value' => 2100,
'use' => 'fix',
'fix' => true
)

View File

@@ -268,7 +268,7 @@ class UpdateController
return $curl->getStatusCode();
}
if (md5_file(UPDATE_PATH.'update.zip') !== $version->getChecksum())
if (hash_file('sha256', UPDATE_PATH.'update.zip') !== $version->getChecksum())
{
unlink(UPDATE_PATH.'update.zip');
return 1;