1 parent 0f19458 commit 88695deCopy full SHA for 88695de
1 file changed
src/main.cpp
@@ -261,7 +261,7 @@ int main(int argc, char** argv) {
261
ldLog() << LD_WARNING << "Could not find desktop file in AppDir, cannot create links for AppRun, desktop file and icon in AppDir root" << std::endl;
262
} else {
263
if (!desktopFilePaths.Get().empty()) {
264
- auto firstDeployedDesktopFileName = bf::basename(desktopFilePaths.Get().front());
+ auto firstDeployedDesktopFileName = bf::path(desktopFilePaths.Get().front()).filename().string();
265
266
auto desktopFileMatchingName = std::find_if(
267
deployedDesktopFiles.begin(),
0 commit comments