From ab358cb4c4e4674e765069e7df5f84dc360d6b0e Mon Sep 17 00:00:00 2001 From: David Kocik Date: Fri, 16 Aug 2024 14:42:53 +0200 Subject: [PATCH] User underscore instead of minus --- src/slic3r/GUI/DesktopIntegrationDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/DesktopIntegrationDialog.cpp b/src/slic3r/GUI/DesktopIntegrationDialog.cpp index 639d167229..2ca450bf9c 100644 --- a/src/slic3r/GUI/DesktopIntegrationDialog.cpp +++ b/src/slic3r/GUI/DesktopIntegrationDialog.cpp @@ -529,12 +529,12 @@ void DesktopIntegrationDialog::perform_downloader_desktop_integration() std::string version(SLIC3R_VERSION); if (version.find("alpha") != std::string::npos) { - version_suffix = "-alpha"; + version_suffix = "_alpha"; name_suffix = " - alpha"; } else if (version.find("beta") != std::string::npos) { - version_suffix = "-beta"; + version_suffix = "_beta"; name_suffix = " - beta"; } @@ -660,7 +660,7 @@ void DesktopIntegrationDialog::undo_downloader_registration_rigid() if (apps_path.empty()) { continue; } - for (const std::string& suffix : {"" , "-beta", "-alpha"}) { + for (const std::string& suffix : {"" , "-beta", "-alpha" , "_beta", "_alpha"}) { boost::filesystem::path file_path = apps_path / GUI::format("PrusaSlicerURLProtocol%1%.desktop", suffix); boost::system::error_code ec; if (!boost::filesystem::exists(file_path, ec) || ec) {