mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
Deleted admin requisite (maybe it was another mistake).
This commit is contained in:
parent
59b6ada7b7
commit
2a7edda70a
1 changed files with 1 additions and 7 deletions
|
@ -3067,13 +3067,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
|
||||||
LOG_ERROR(Frontend, "Invalid shortcut target");
|
LOG_ERROR(Frontend, "Invalid shortcut target");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#if defined(_WIN32)
|
#if defined(__linux__)
|
||||||
if (!IsUserAnAdmin() && target == GameListShortcutTarget::Applications) {
|
|
||||||
GMainWindow::CreateShortcutMessagesGUI(this, GMainWindow::CREATE_SHORTCUT_MSGBOX_ADMIN,
|
|
||||||
qt_game_title);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#elif defined(__linux__)
|
|
||||||
// Special case for AppImages
|
// Special case for AppImages
|
||||||
// Warn once if we are making a shortcut to a volatile AppImage
|
// Warn once if we are making a shortcut to a volatile AppImage
|
||||||
const std::string appimage_ending =
|
const std::string appimage_ending =
|
||||||
|
|
Loading…
Reference in a new issue