mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-25 18:46:56 +01:00
* nandBinCheck: add SVN identification crap
This commit is contained in:
parent
481a4d2b4e
commit
92faf689ee
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
#include "svnrev.h"
|
||||||
|
|
||||||
#include "../WiiQt/includes.h"
|
#include "../WiiQt/includes.h"
|
||||||
#include "../WiiQt/nandbin.h"
|
#include "../WiiQt/nandbin.h"
|
||||||
#include "../WiiQt/sharedcontentmap.h"
|
#include "../WiiQt/sharedcontentmap.h"
|
||||||
@ -1312,14 +1315,16 @@ int main( int argc, char *argv[] )
|
|||||||
hConsole = GetStdHandle( STD_OUTPUT_HANDLE );
|
hConsole = GetStdHandle( STD_OUTPUT_HANDLE );
|
||||||
#endif
|
#endif
|
||||||
qInstallMsgHandler( DebugHandler );
|
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 ) )
|
if( args.contains( "-nocolor", Qt::CaseInsensitive ) )
|
||||||
color = false;
|
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 ) )
|
if( args.contains( "-about", Qt::CaseInsensitive ) )
|
||||||
About();
|
About();
|
||||||
|
|
||||||
|
@ -43,3 +43,13 @@ HEADERS += ../WiiQt/tiktmd.h \
|
|||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
../WiiQt/settingtxtdialog.ui
|
../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" )
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user