Skip to content

Commit

Permalink
[auth] Whitelist for windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Jun 25, 2024
1 parent 185bed1 commit 610a5d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion auth/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ Future<void> initSystemTray() async {

void main() async {
WidgetsFlutterBinding.ensureInitialized();
if (Platform.isWindows) {
await whiteListLetsEncryptRootCA();
}

if (PlatformUtil.isDesktop()) {
await windowManager.ensureInitialized();
Expand All @@ -87,7 +90,7 @@ void main() async {
}
}

void whiteListLetsEncryptRootCA() async {
Future<void> whiteListLetsEncryptRootCA() async {
try {
// https://stackoverflow.com/a/71090239
// https://github.com/ente-io/ente/issues/2178
Expand Down

0 comments on commit 610a5d8

Please sign in to comment.