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