mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-06-28 10:49:10 -05:00
Fix desktop file deployment
This commit is contained in:
@@ -33,14 +33,13 @@ namespace linuxdeploy {
|
||||
return deployedDesktopFiles[0];
|
||||
}
|
||||
|
||||
auto firstDeployedDesktopFileName = boost::filesystem::path(
|
||||
desktopFilePaths.front()).filename().string();
|
||||
auto firstDeployedDesktopFileName = boost::filesystem::path(desktopFilePaths.front()).filename().string();
|
||||
|
||||
auto desktopFileMatchingName = find_if(
|
||||
deployedDesktopFiles.begin(),
|
||||
deployedDesktopFiles.end(),
|
||||
[&firstDeployedDesktopFileName](const desktopfile::DesktopFile& desktopFile) {
|
||||
auto fileName = desktopFile.path();
|
||||
auto fileName = bf::path(desktopFile.path()).filename().string();
|
||||
return fileName == firstDeployedDesktopFileName;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user