mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 22:24:26 +02:00
Remove .desktop suffix from application ID
Signed-off-by: Echo J <tcg96nougat@gmail.com>
This commit is contained in:
parent
91ef9f4998
commit
ffdf1f746e
@ -1587,9 +1587,7 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
|
||||
if (desktopFilePath.isEmpty())
|
||||
return; // file dialog canceled by user
|
||||
appPath = "flatpak";
|
||||
QString flatpakAppId = BuildConfig.LAUNCHER_DESKTOPFILENAME;
|
||||
flatpakAppId.remove(".desktop");
|
||||
args.append({ "run", flatpakAppId });
|
||||
args.append({ "run", BuildConfig.LAUNCHER_DESKTOPFILENAME });
|
||||
}
|
||||
|
||||
#elif defined(Q_OS_WIN)
|
||||
|
@ -21,7 +21,7 @@ set(Launcher_Domain "prismlauncher.org" PARENT_SCOPE)
|
||||
set(Launcher_UserAgent "${Launcher_CommonName}/${Launcher_VERSION_NAME}" PARENT_SCOPE)
|
||||
set(Launcher_ConfigFile "prismlauncher.cfg" PARENT_SCOPE)
|
||||
set(Launcher_Git "https://github.com/PrismLauncher/PrismLauncher" PARENT_SCOPE)
|
||||
set(Launcher_DesktopFileName "org.prismlauncher.PrismLauncher.desktop" PARENT_SCOPE)
|
||||
set(Launcher_DesktopFileName "org.prismlauncher.PrismLauncher" PARENT_SCOPE)
|
||||
set(Launcher_SVGFileName "org.prismlauncher.PrismLauncher.svg" PARENT_SCOPE)
|
||||
|
||||
set(Launcher_Desktop "program_info/org.prismlauncher.PrismLauncher.desktop" PARENT_SCOPE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user