mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Updated Android SDK/NDK fallback paths on Windows
This commit is contained in:
parent
664e08f796
commit
161e5cd1c3
1 changed files with 7 additions and 3 deletions
|
|
@ -409,12 +409,16 @@ static String getFallbackPathForOS (const Identifier& key, DependencyPathOS os)
|
|||
}
|
||||
else if (key == Ids::androidSDKPath)
|
||||
{
|
||||
return (os == TargetOS::linux ? "${user.home}/Android/Sdk" :
|
||||
"${user.home}/Library/Android/sdk");
|
||||
if (os == TargetOS::windows) return "${user.home}\\AppData\\Local\\Android\\Sdk";
|
||||
else if (os == TargetOS::osx) return "${user.home}/Library/Android/sdk";
|
||||
else if (os == TargetOS::linux) return "${user.home}/Android/Sdk";
|
||||
|
||||
jassertfalse;
|
||||
return {};
|
||||
}
|
||||
else if (key == Ids::androidNDKPath)
|
||||
{
|
||||
return getFallbackPathForOS (Ids::androidSDKPath, os) + "/ndk-bundle";
|
||||
return getFallbackPathForOS (Ids::androidSDKPath, os) + File::getSeparatorChar() + "ndk-bundle";
|
||||
}
|
||||
else if (key == Ids::clionExePath)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue