mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 09:53:00 +01:00
Application Name correction
This commit is contained in:
parent
6f33003624
commit
9c722a6be5
@ -119,10 +119,14 @@ define(function (require, exports, module) {
|
|||||||
for (var key in fileTypeToAppMap) {
|
for (var key in fileTypeToAppMap) {
|
||||||
if (fileTypeToAppMap.hasOwnProperty(key)) {
|
if (fileTypeToAppMap.hasOwnProperty(key)) {
|
||||||
if(key && !prefs[key]) {
|
if(key && !prefs[key]) {
|
||||||
|
prefs[key] = fileTypeToAppMap[key];
|
||||||
|
if(brackets.platform === "win" && !fileTypeToAppMap[key].endsWith('.exe') &&
|
||||||
|
!fileTypeToAppMap[key].endsWith('.EXE')) {
|
||||||
prefs[key] = "default";
|
prefs[key] = "default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PreferencesManager.set('externalApplications', prefs);
|
PreferencesManager.set('externalApplications', prefs);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user