summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/cocoa_cb_common.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/cocoa_cb_common.swift b/video/out/cocoa_cb_common.swift
index 4be17c061c..54edbefcd3 100644
--- a/video/out/cocoa_cb_common.swift
+++ b/video/out/cocoa_cb_common.swift
@@ -166,7 +166,9 @@ class CocoaCB: NSObject {
}
func setAppIcon() {
- if let app = NSApp as? Application {
+ if let app = NSApp as? Application,
+ ProcessInfo.processInfo.environment["MPVBUNDLE"] != "true"
+ {
NSApp.applicationIconImage = app.getMPVIcon()
}
}