mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
macOS icon fixes
This commit is contained in:
parent
1354e00dbd
commit
ee102dd001
2 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
BIN
dist/logo/logo.icns
vendored
BIN
dist/logo/logo.icns
vendored
Binary file not shown.
Loading…
Reference in a new issue