mirror of
https://github.com/yanue/V2rayU.git
synced 2025-06-27 05:30:09 +00:00
toast window
This commit is contained in:
parent
bf81027424
commit
0f1018f3ac
@ -58,7 +58,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
// /Users/yanue/Library/Developer/Xcode/DerivedData/V2rayU-cqwhqdwsnxsplqgolfwfywalmjps/Build/Products/Debug
|
||||
// working dir must be: /Applications/V2rayU.app
|
||||
if !(path.contains("Developer/Xcxode") || path.contains("/Applications/V2rayU.app")) {
|
||||
if !(path.contains("Developer/Xcode") || path.contains("/Applications/V2rayU.app")) {
|
||||
makeToast(message: "Please drag 'V2rayU' to '/Applications' directory", displayDuration: 5.0)
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 5.5) {
|
||||
NSApplication.shared.terminate(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user