Skip to content

Commit

Permalink
Update appsupport.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 11, 2024
1 parent 67c7c1b commit 21fa659
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/appsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,14 @@ const QString AppSupport::getAppUserExPresetsPath()

const QString AppSupport::getSVGO()
{
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN)
const QString svgo = "svgo-win.exe";
#else
#elif defined(Q_OS_LINUX)
const QString svgo = "svgo-linux";
#elif defined(Q_OS_MAC)
const QString svgo = "svgo-macos";
#else
const QString svgo = "svgo";
#endif
const QString path = QString("%1/%2").arg(getAppPath(), svgo);
if (QFile::exists(path)) { return path; }
Expand Down

0 comments on commit 21fa659

Please sign in to comment.