Skip to content

Commit

Permalink
Fix for Linux packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dman95 committed Jul 14, 2014
1 parent 3cc6c6f commit f8d010a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
Binary file added Linux/bin/fasm
Binary file not shown.
Binary file added Linux/bin/listing
Binary file not shown.
Binary file removed Linux/share/sasm/FASM/fasm
Binary file not shown.
Binary file removed Linux/share/sasm/FASM/listing
Binary file not shown.
1 change: 1 addition & 0 deletions SASM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share

binfile.files += sasm
binfile.files += Linux/bin/*
binfile.path = $$BINDIR
data.files += Linux/share/sasm/*
data.path = $$DATADIR/sasm/
Expand Down
4 changes: 2 additions & 2 deletions fasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ QString FASM::getAssemblerPath()
#ifdef Q_OS_WIN32
return Common::applicationDataPath() + "/FASM/fasm.exe";
#else
return Common::applicationDataPath() + "/FASM/fasm";
return "fasm";
#endif
}

Expand All @@ -77,7 +77,7 @@ QString FASM::getListingFilePath(QFile &lstOut)
#ifdef Q_OS_WIN32
getLst.start(Common::applicationDataPath() + "/FASM/listing.exe", getLstArguments);
#else
getLst.start(Common::applicationDataPath() + "/FASM/listing", getLstArguments);
getLst.start("listing", getLstArguments);
#endif
getLst.waitForFinished();
return listingPath;
Expand Down

0 comments on commit f8d010a

Please sign in to comment.