biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / editors / rstudio / fix-resources-path.patch
blob24f8b3cb51b9d06d008cb60ff4bb95e8d8df5f4a
1 --- a/src/cpp/desktop/DesktopOptions.cpp
2 +++ b/src/cpp/desktop/DesktopOptions.cpp
3 @@ -499,15 +499,9 @@
5 if (resourcesPath_.isEmpty())
7 -#ifdef RSTUDIO_PACKAGE_BUILD
8 // release configuration: the 'resources' folder is
9 // part of the supporting files folder
10 - resourcesPath_ = supportingFilePath().completePath("resources");
11 -#else
12 - // developer configuration: the 'resources' folder is
13 - // a sibling of the RStudio executable
14 - resourcesPath_ = scriptsPath().completePath("resources");
15 -#endif
16 + resourcesPath_ = supportingFilePath().completePath("resources");
19 return resourcesPath_;