mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
parent
a6a4bfcf3b
commit
0dabaa15fb
2 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,9 @@ public class Msys2ToolChainProvider implements IToolChainProvider {
|
|||
for (int i = 0; (subkey = registry.getCurrentUserKeyName(uninstallKey, i)) != null; i++) {
|
||||
String compKey = uninstallKey + '\\' + subkey;
|
||||
String displayName = registry.getCurrentUserValue(compKey, "DisplayName"); //$NON-NLS-1$
|
||||
if (displayName == null) {
|
||||
continue;
|
||||
}
|
||||
if (on64bit) {
|
||||
if (MSYS2_64BIT_NAMES.contains(displayName)) {
|
||||
if (addToolChain64(manager, registry, compKey)) {
|
||||
|
|
|
@ -95,6 +95,9 @@ public class MinGW {
|
|||
for (int i = 0; (subkey = registry.getCurrentUserKeyName(uninstallKey, i)) != null; i++) {
|
||||
String compKey = uninstallKey + '\\' + subkey;
|
||||
String displayName = registry.getCurrentUserValue(compKey, "DisplayName"); //$NON-NLS-1$
|
||||
if (displayName == null) {
|
||||
continue;
|
||||
}
|
||||
if (on64bit) {
|
||||
if (MSYS2_64BIT_NAMES.contains(displayName)) {
|
||||
String installLocation = registry.getCurrentUserValue(compKey, "InstallLocation"); //$NON-NLS-1$
|
||||
|
@ -230,6 +233,9 @@ public class MinGW {
|
|||
for (int i = 0; (subkey = registry.getCurrentUserKeyName(uninstallKey, i)) != null; i++) {
|
||||
String compKey = uninstallKey + '\\' + subkey;
|
||||
String displayName = registry.getCurrentUserValue(compKey, "DisplayName"); //$NON-NLS-1$
|
||||
if (displayName == null) {
|
||||
continue;
|
||||
}
|
||||
if (on64bit) {
|
||||
if (MSYS2_64BIT_NAMES.contains(displayName)) {
|
||||
String home = registry.getCurrentUserValue(compKey, "InstallLocation"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue