mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-25 22:24:22 +01:00
* nandBinCheck: add SVN identification crap
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@100 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
2defb5d42e
commit
bdc77990a1
@ -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();
|
||||
|
||||
|
@ -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" )
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user