mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-30 10:38:34 +00:00
macOS icon fixes
This commit is contained in:
1 parent
1354e00dbd
commit
ee102dd001
2 files changed
+1
-1
No files matched your search
@@ -34,7 +34,7 @@ public class App extends Application {
|
||||
|
||||
// Set dock icon explicitly on mac
|
||||
// This is necessary in case XPipe was started through a script as it will have no icon otherwise
|
||||
if (OsType.getLocal().equals(OsType.MACOS)) {
|
||||
if (OsType.getLocal().equals(OsType.MACOS) && AppProperties.get().isDeveloperMode() && !AppLogs.get().isWriteToFile()) {
|
||||
try {
|
||||
var iconUrl = Main.class.getResourceAsStream("resources/img/logo/logo_128x128.png");
|
||||
if (iconUrl != null) {
|
||||
|
||||
Reference in new issue
Block a user