Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Disable Auth desktop Impeller

AmanRajSinghMouryad83810f6e98d
diff --git a/mobile/apps/auth/linux/my_application.cc b/mobile/apps/auth/linux/my_application.cc
index aba40ada7f..90cf6e2752 100644
--- a/mobile/apps/auth/linux/my_application.cc
+++ b/mobile/apps/auth/linux/my_application.cc
@@ -115,6 +115,7 @@ static void my_application_activate(GApplication *application)
gtk_widget_show(GTK_WIDGET(window));
g_autoptr(FlDartProject) project = fl_dart_project_new();
+ fl_dart_project_set_enable_impeller(project, FALSE);
fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
FlView *view = fl_view_new(project);
diff --git a/mobile/apps/auth/macos/Runner/Info.plist b/mobile/apps/auth/macos/Runner/Info.plist
index b48ea505b9..cb50d71804 100644
--- a/mobile/apps/auth/macos/Runner/Info.plist
+++ b/mobile/apps/auth/macos/Runner/Info.plist
@@ -22,6 +22,8 @@
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
+ <key>FLTEnableImpeller</key>
+ <false/>
<key>NSHumanReadableCopyright</key>
<string>$(PRODUCT_COPYRIGHT)</string>
<key>NSMainNibFile</key>
diff --git a/mobile/apps/auth/windows/runner/main.cpp b/mobile/apps/auth/windows/runner/main.cpp
index 400c00e31c..3455f74804 100644
--- a/mobile/apps/auth/windows/runner/main.cpp
+++ b/mobile/apps/auth/windows/runner/main.cpp
@@ -54,6 +54,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
flutter::DartProject project(L"data");
+ project.set_impeller_switch(flutter::ImpellerSwitch::Disabled);
// TODO: Remove after upgrading past Flutter 3.38.10.
// Added for Flutter Windows frame-pacing issues tracked in
// flutter/flutter#175135 and flutter/flutter#178916.