mirror of
https://github.com/libretro/parallel-gx1.git
synced 2026-11-07 04:26:01 -10:00
The core runs only inside a libretro frontend. The Qt frontend and its submodule go, together with what only it used: the Qt DBus screensaver inhibit, the JIT's single-block erase, the string translator hook, the Qt translation catalogs and Transifex config, the desktop packaging (NSIS, RPM, Flatpak) and the autoupdate overview.
23 lines
538 B
Objective-C
23 lines
538 B
Objective-C
// Copyright 2019 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include <Cocoa/Cocoa.h>
|
|
|
|
|
|
int main(int argc, const char** argv)
|
|
{
|
|
if (argc == 1)
|
|
{
|
|
NSAlert* alert = [[[NSAlert alloc] init] autorelease];
|
|
|
|
[alert setMessageText:@"This updater is not meant to be launched directly."];
|
|
[alert setAlertStyle:NSAlertStyleWarning];
|
|
[alert setInformativeText:@"Configure Auto-Update in Dolphin's settings instead."];
|
|
[alert runModal];
|
|
|
|
return 1;
|
|
}
|
|
|
|
return NSApplicationMain(argc, argv);
|
|
}
|