fix: use multi window controller to close window

This commit is contained in:
kingtous
2022-08-09 16:37:11 +08:00
parent 5a953cc8df
commit d76782a0fc
3 changed files with 13 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ Future<Null> main(List<String> args) async {
? Map<String, dynamic>()
: jsonDecode(args[2]) as Map<String, dynamic>;
int type = argument['type'] ?? -1;
argument['windowId'] = windowId;
WindowType wType = type.windowType;
switch (wType) {
case WindowType.RemoteDesktop: