Skip to content

Commit

Permalink
chore: always allow discord for mac and windows (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier authored Oct 16, 2024
1 parent 66c1cd8 commit 7b3c193
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/app_config.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// TODO(#946): make discord work inside the snap
// or leave it for linux disabled if this won't work
import 'dart:io';

import 'package:flutter/foundation.dart';

// TODO(#946): make discord work inside the snap
// or leave it for linux disabled if this won't work
bool allowDiscordRPC = kDebugMode ||
Platform.isMacOS ||
Platform.isWindows ||
bool.tryParse(const String.fromEnvironment('ALLOW_DISCORD_RPC')) == true;

0 comments on commit 7b3c193

Please sign in to comment.