From 309f915070ed6f34490dda2798bf2d586102e437 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 6 May 2021 11:19:34 +0545 Subject: [PATCH 1/4] flutter desktop platforms --- app/controllers/api/projects.php | 2 +- app/views/console/home/index.phtml | 111 +++++++++++++++++++++++++++++ composer.lock | 2 +- 3 files changed, 113 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 0b9eb64ff..81c4fdab0 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -1268,7 +1268,7 @@ App::post('/v1/projects/:projectId/platforms') ->label('sdk.response.type', Response::CONTENT_TYPE_JSON) ->label('sdk.response.model', Response::MODEL_PLATFORM) ->param('projectId', null, new UID(), 'Project unique ID.') - ->param('type', null, new WhiteList(['web', 'flutter-ios', 'flutter-android', 'ios', 'android', 'unity'], true), 'Platform type.') + ->param('type', null, new WhiteList(['web', 'flutter-ios', 'flutter-android', 'flutter-linux', 'flutter-macos', 'flutter-windows', 'ios', 'android', 'unity'], true), 'Platform type.') ->param('name', null, new Text(128), 'Platform name. Max length: 128 chars.') ->param('key', '', new Text(256), 'Package name for android or bundle ID for iOS. Max length: 256 chars.', true) ->param('store', '', new Text(256), 'App store or Google Play store ID. Max length: 256 chars.', true) diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml index 1f3e95f1d..b3bc10481 100644 --- a/app/views/console/home/index.phtml +++ b/app/views/console/home/index.phtml @@ -190,6 +190,18 @@ $usageStatsEnabled = $this->getParam('usageStatsEnabled',true);
Android Logo
+ +
+ Linux Logo +
+ +
+ MacOS Logo +
+ +
+ Windows Logo +
@@ -387,6 +399,105 @@ $usageStatsEnabled = $this->getParam('usageStatsEnabled',true);
+   + + +
  • +

      Linux  

    + +
    + + + + + + + + + + +
    + +   +
    +
  • +
  • +

      MacOS  

    + +
    + + + + + + + + + + +
    + +   +
    +
  • +
  • +

      Windows  

    + +
    + + + + + + + + + + +
    +  
  • diff --git a/composer.lock b/composer.lock index 42129feac..3b6052843 100644 --- a/composer.lock +++ b/composer.lock @@ -5949,4 +5949,4 @@ "php": "8.0" }, "plugin-api-version": "2.0.0" -} +} \ No newline at end of file From d09dfc6bddc2401d9b43c7df2b770e08d0e771e4 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 6 May 2021 13:33:54 +0545 Subject: [PATCH 2/4] fix dialog tabs overflowing --- app/views/console/home/index.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/console/home/index.phtml b/app/views/console/home/index.phtml index b3bc10481..76f9708aa 100644 --- a/app/views/console/home/index.phtml +++ b/app/views/console/home/index.phtml @@ -329,7 +329,7 @@ $usageStatsEnabled = $this->getParam('usageStatsEnabled',true); -