| 250 | } |
| 251 | |
| 252 | static std::string getFundamentalPackagePath() { |
| 253 | for (const std::string& path : system::getEntries(asset::systemDir)) { |
| 254 | std::string filename = system::getFilename(path); |
| 255 | if (string::startsWith(filename, "Fundamental-") && string::endsWith(filename, APP_OS + "-" + APP_CPU + ".vcvplugin")) |
| 256 | return path; |
| 257 | } |
| 258 | return ""; |
| 259 | } |
| 260 | |
| 261 | //////////////////// |
| 262 | // public API |
no test coverage detected