This commit is contained in:
Kode
2018-10-28 20:41:46 +00:00
parent 4351f55225
commit 21c1401859
6 changed files with 38 additions and 7 deletions

View File

@@ -304,6 +304,7 @@ class ItemController extends Controller
// basic details
$output['icon'] = $app_details->icon();
$output['name'] = $app_details->name;
$output['iconview'] = $app_details->iconView();
$output['colour'] = $app_details->defaultColour();
$output['class'] = $appclass;
@@ -357,7 +358,7 @@ class ItemController extends Controller
SupportedApps::saveApp($app, $application);
} else {
// check if there has been an update for this app
$localapp = $localapps->where('name', $app->name)->first();
$localapp = $localapps->where('appid', $app->appid)->first();
if($localapp) {
if($localapp->sha !== $app->sha) {
SupportedApps::getFiles($app);