Enable --debug
This commit is contained in:
parent
aa278d60ca
commit
216fab88fa
|
|
@ -95,10 +95,10 @@ String appDir = "";
|
|||
Map<String, String> environmentVariables = {};
|
||||
|
||||
void main(List<String> args) async {
|
||||
// if (isProduction) {
|
||||
// // ignore: avoid_returning_null_for_void
|
||||
// debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
// }
|
||||
if (!args.contains("--debug")) {
|
||||
// ignore: avoid_returning_null_for_void
|
||||
debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
}
|
||||
|
||||
await setupDesktop();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue