fix darwin icons (#216492)
parent
69d85960f7
commit
bfb7af52e5
|
@ -54,7 +54,7 @@ function darwinBundleDocumentType(extensions, icon, nameOrSuffix, utis) {
|
|||
role: 'Editor',
|
||||
ostypes: ['TEXT', 'utxt', 'TUTX', '****'],
|
||||
extensions,
|
||||
iconFile: 'resources/darwin/' + icon + '.icns',
|
||||
iconFile: 'resources/darwin/' + icon.toLowerCase() + '.icns',
|
||||
utis
|
||||
};
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ function darwinBundleDocumentType(extensions: string[], icon: string, nameOrSuff
|
|||
role: 'Editor',
|
||||
ostypes: ['TEXT', 'utxt', 'TUTX', '****'],
|
||||
extensions,
|
||||
iconFile: 'resources/darwin/' + icon + '.icns',
|
||||
iconFile: 'resources/darwin/' + icon.toLowerCase() + '.icns',
|
||||
utis
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue