macOS icon fixes

This commit is contained in:
crschnick 2023-06-21 13:32:02 +00:00
parent 1354e00dbd
commit ee102dd001
2 changed files with 1 additions and 1 deletions

View file

@ -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

Binary file not shown.