* nandBinCheck: add SVN identification crap

This commit is contained in:
giantpune 2011-05-28 09:10:50 +00:00
parent 481a4d2b4e
commit 92faf689ee
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,6 @@
#include "svnrev.h"
#include "../WiiQt/includes.h"
#include "../WiiQt/nandbin.h"
#include "../WiiQt/sharedcontentmap.h"
@ -1312,14 +1315,16 @@ int main( int argc, char *argv[] )
hConsole = GetStdHandle( STD_OUTPUT_HANDLE );
#endif
qInstallMsgHandler( DebugHandler );
qCritical() << "** nandBinCheck : Wii nand info tool **";
qCritical() << " from giantpune";
qCritical() << " built:" << __DATE__ << __TIME__;
args = QCoreApplication::arguments();
args = QCoreApplication::arguments();
if( args.contains( "-nocolor", Qt::CaseInsensitive ) )
color = false;
qCritical() << "** nandBinCheck : Wii nand info tool **";
qCritical() << " from giantpune";
qCritical() << " svn r:" << qPrintable( CleanSvnStr( SVN_REV_STR ) );
qCritical() << " built:" << __DATE__ << __TIME__;
if( args.contains( "-about", Qt::CaseInsensitive ) )
About();

View File

@ -43,3 +43,13 @@ HEADERS += ../WiiQt/tiktmd.h \
FORMS += \
../WiiQt/settingtxtdialog.ui
# create new svnrev.h
unix {
system( chmod 755 ../tools/makesvnrev.sh )
system( ../tools/makesvnrev.sh )
}
win32 {
system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" )
}