feat: add IPA download button to channel list (super admin only)
- data() returns ipa_url if public/channel/<id>/app.ipa exists - Blade: warm-colored IPA button in ops column, super admin + has IPA only - Click to download the built IPA directly
This commit is contained in:
@@ -88,6 +88,7 @@ class ChannelController extends Controller
|
||||
'app_name' => $c->app_name ?: '',
|
||||
'bundle_id' => $c->bundle_id ?: '',
|
||||
'h5_url' => $c->h5_url ?: '',
|
||||
'ipa_url' => file_exists(public_path('channel/'.$c->channel_id.'/app.ipa')) ? '/channel/'.$c->channel_id.'/app.ipa' : '',
|
||||
'links' => $c->supportLinks(),
|
||||
'landing_path' => $c->landingPath(),
|
||||
'created_at' => optional($c->created_at)->format('Y-m-d H:i:s'),
|
||||
|
||||
Reference in New Issue
Block a user