Lines 652-666
Link Here
|
652 |
{ |
652 |
{ |
653 |
if (resourcesPath_.isEmpty()) |
653 |
if (resourcesPath_.isEmpty()) |
654 |
{ |
654 |
{ |
655 |
#ifdef RSTUDIO_PACKAGE_BUILD |
|
|
656 |
// release configuration: the 'resources' folder is |
655 |
// release configuration: the 'resources' folder is |
657 |
// part of the supporting files folder |
656 |
// part of the supporting files folder |
658 |
resourcesPath_ = supportingFilePath().completePath("resources"); |
657 |
resourcesPath_ = supportingFilePath().completePath("resources"); |
659 |
#else |
|
|
660 |
// developer configuration: the 'resources' folder is |
661 |
// a sibling of the RStudio executable |
662 |
resourcesPath_ = scriptsPath().completePath("resources"); |
663 |
#endif |
664 |
} |
658 |
} |
665 |
|
659 |
|
666 |
return resourcesPath_; |
660 |
return resourcesPath_; |