mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Projucer: Fix relative paths for Android resource files
This commit is contained in:
parent
51d11a2be6
commit
5d5fdaf008
1 changed files with 3 additions and 3 deletions
|
|
@ -244,7 +244,7 @@ public:
|
|||
|
||||
if (androidExtraAssetsFolderValue.isNotEmpty())
|
||||
{
|
||||
auto extraAssets = getProject().getFile().getParentDirectory().getChildFile (androidExtraAssetsFolderValue);
|
||||
auto extraAssets = getProject().getFile().getSiblingFile (androidExtraAssetsFolderValue);
|
||||
|
||||
if (extraAssets.exists() && extraAssets.isDirectory())
|
||||
{
|
||||
|
|
@ -1284,7 +1284,7 @@ private:
|
|||
if (remoteNotifsConfigFilePath.isEmpty())
|
||||
remoteNotifsConfigFilePath = androidRemoteNotificationsConfigFile.get().toString();
|
||||
|
||||
File file (getProject().getFile().getChildFile (remoteNotifsConfigFilePath));
|
||||
File file (getProject().getFile().getSiblingFile (remoteNotifsConfigFilePath));
|
||||
// Settings file must be present for remote notifications to work and it must be called google-services.json.
|
||||
jassert (file.existsAsFile() && file.getFileName() == "google-services.json");
|
||||
|
||||
|
|
@ -1303,7 +1303,7 @@ private:
|
|||
|
||||
for (auto& path : resourcePaths)
|
||||
{
|
||||
auto file = getProject().getFile().getChildFile (path);
|
||||
auto file = getProject().getFile().getSiblingFile (path);
|
||||
|
||||
jassert (file.exists());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue