* nandExtract:: add svn identification stuff

This commit is contained in:
giantpune 2011-05-31 03:53:03 +00:00
parent 7b998b5422
commit 52c732489a
2 changed files with 52 additions and 40 deletions

View File

@ -28,3 +28,13 @@ FORMS += nandwindow.ui \
RESOURCES += \
rc.qrc
# 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" )
}

View File

@ -1,4 +1,5 @@
#include "nandwindow.h"
#include "svnrev.h"
#include "ui_nandwindow.h"
#include "boot2infodialog.h"
#include "../WiiQt/tools.h"
@ -7,6 +8,7 @@ NandWindow::NandWindow( QWidget *parent ) : QMainWindow( parent ), ui( new Ui::N
{
ui->setupUi( this );
ui->mainToolBar->setVisible( false );
this->setWindowTitle( "NAND Extract r" + CleanSvnStr( SVN_REV_STR ) );
//setup the block map
SetUpBlockMap();