Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- a/src/cpp/desktop/DesktopOptions.cpp 2+++ b/src/cpp/desktop/DesktopOptions.cpp 3@@ -499,15 +499,9 @@ 4 { 5 if (resourcesPath_.isEmpty()) 6 { 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"); 17 } 18 19 return resourcesPath_;