refactor & add Icon Mac Windows
This commit is contained in:
parent
1edeae2c66
commit
f9a072dac0
|
@ -260,7 +260,7 @@ public class ProcessesForm {
|
|||
String iconFilePath = iconPathSplit + "Resources/" + cFBundleIconFile;
|
||||
|
||||
// Ensure file path ends with ".icns"
|
||||
if (!iconFilePath.contains(".icns")) {
|
||||
if (!iconFilePath.endsWith(".icns")) {
|
||||
iconFilePath += ".icns";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue