diff --git a/app/SupportedApps.php b/app/SupportedApps.php index a2d96dc4..ec82fb85 100644 --- a/app/SupportedApps.php +++ b/app/SupportedApps.php @@ -129,6 +129,10 @@ abstract class SupportedApps public static function saveApp($details, $app) { + if(!file_exists(public_path('storage/icons'))) { + mkdir(public_path('storage/icons'), 0777, true); + } + $img_src = app_path('SupportedApps/'.className($details->name).'/'.$details->icon); $img_dest = public_path('storage/icons/'.$details->icon); //die("i: ".$img_src);