Mac: fix build

Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
ADudeCalledLeo 2022-11-12 20:48:21 +02:00
parent 45ce72593a
commit 5322155b19
No known key found for this signature in database
GPG Key ID: 2E08DA5D6AF36F3B

View File

@ -2101,7 +2101,7 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
#if defined(Q_OS_MACOS) #if defined(Q_OS_MACOS)
// handle macOS bundle weirdness // handle macOS bundle weirdness
QFileInfo appFileInfo(QApplication::applicationFilePath())); QFileInfo appFileInfo(QApplication::applicationFilePath());
QString appName = appFileInfo.baseName(); QString appName = appFileInfo.baseName();
QString exeName = FS::PathCombine(appFileInfo.filePath(), "Contents/MacOS/" + appName); QString exeName = FS::PathCombine(appFileInfo.filePath(), "Contents/MacOS/" + appName);