We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71de447 commit a414fdeCopy full SHA for a414fde
app/src/processing/app/Base.java
@@ -1924,8 +1924,7 @@ static public void setIcon(Frame frame) {
1924
1925
// don't use the low-res icon on Linux
1926
if (OSUtils.isLinux()){
1927
- String current = System.getProperty("user.dir");
1928
- Image image = Toolkit.getDefaultToolkit().createImage(current + "/lib/arduino.png");
+ Image image = Toolkit.getDefaultToolkit().createImage(BaseNoGui.getContentFile("/lib/arduino.png").getAbsolutePath());
1929
frame.setIconImage(image);
1930
return;
1931
}
0 commit comments