netless-io / flat

Project flat is the Web, Windows and macOS client of Agora Flat open source classroom.
https://flat.whiteboard.agora.io
MIT License
5.72k stars 825 forks source link

[refactor]: activate terminal after start command #979

Closed BlackHole1 closed 3 years ago

BlackHole1 commented 3 years ago

exec yarn run start in project root path, will open system terminal or iTerm2. but they(terminal / iTerm2) will not to the front (like z-index).

https://user-images.githubusercontent.com/8198408/134791718-c0984784-4dcd-4491-8baf-2a1bf55369e0.mp4

related documents: https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_cmds.html#//apple_ref/doc/uid/TP40000983-CH216-SW60

related code:

BlackHole1 commented 3 years ago

@l1shen Would you be interested in looking at this issue?

l1shen commented 3 years ago

@l1shen Would you be interested in looking at this issue?

Okay I'll take a look at it later