mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fixed missing icon due to incorrect path
This commit is contained in:
parent
71de447620
commit
a414fdee77
@ -1924,8 +1924,7 @@ public class Base {
|
||||
|
||||
// don't use the low-res icon on Linux
|
||||
if (OSUtils.isLinux()){
|
||||
String current = System.getProperty("user.dir");
|
||||
Image image = Toolkit.getDefaultToolkit().createImage(current + "/lib/arduino.png");
|
||||
Image image = Toolkit.getDefaultToolkit().createImage(BaseNoGui.getContentFile("/lib/arduino.png").getAbsolutePath());
|
||||
frame.setIconImage(image);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user