From c7c2b6e6f28ce0ea1be234cdb762e1a541c4a94f Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 5 Nov 2018 15:27:29 +0000 Subject: [PATCH] change location of icons so it's persistant --- app/SupportedApps.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/SupportedApps.php b/app/SupportedApps.php index a9b16496..a2d96dc4 100644 --- a/app/SupportedApps.php +++ b/app/SupportedApps.php @@ -130,14 +130,14 @@ abstract class SupportedApps public static function saveApp($details, $app) { $img_src = app_path('SupportedApps/'.className($details->name).'/'.$details->icon); - $img_dest = public_path('storage/supportedapps/'.$details->icon); + $img_dest = public_path('storage/icons/'.$details->icon); //die("i: ".$img_src); copy($img_src, $img_dest); $app->appid = $details->appid; $app->name = $details->name; $app->sha = $details->sha ?? null; - $app->icon = 'supportedapps/'.$details->icon; + $app->icon = 'icons/'.$details->icon; $app->website = $details->website; $app->license = $details->license; $app->description = $details->description;