From 3ffa4c25cba145cdacab13385ac7c4fc5604e33c Mon Sep 17 00:00:00 2001 From: fuwa Date: Tue, 23 Jul 2019 02:35:50 +0800 Subject: [PATCH] fix logic for PC emu debuging --- cyberwow/lib/controller/syncing.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cyberwow/lib/controller/syncing.dart b/cyberwow/lib/controller/syncing.dart index eea5949..9c09946 100644 --- a/cyberwow/lib/controller/syncing.dart +++ b/cyberwow/lib/controller/syncing.dart @@ -63,6 +63,8 @@ Stream runBinary (String name) async* { yield line; } + if (isPC) return; + // the app should never reach here log.severe('Daemon is gone!'); exit(1);