Mac: fix build
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
parent
45ce72593a
commit
5322155b19
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user