Rename Rockbox Utility output binary to RockboxUtility.

This will also cause the archives created by deploy-release.py to use the new
binary name, so also update the update checking code to accept any base
filename when retrieving version numbers from the download server.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24980 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-02-28 20:28:45 +00:00
parent 495edfb7b9
commit 239976ebfa
4 changed files with 6 additions and 6 deletions

View file

@ -63,15 +63,15 @@ except ImportError:
# == Global stuff ==
# Windows nees some special treatment. Differentiate between program name
# and executable filename.
program = "rbutilqt"
program = "RockboxUtility"
project = "rbutil/rbutilqt/rbutilqt.pro"
environment = os.environ
make = "make"
if sys.platform == "win32":
progexe = "Release/rbutilqt.exe"
progexe = "Release/" + program + ".exe"
make = "mingw32-make"
elif sys.platform == "darwin":
progexe = "rbutilqt.app"
progexe = program + ".app"
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
# compatible with 10.4 requires using gcc-4.0.
if not "QMAKESPEC" in environment:

View file

@ -1257,7 +1257,7 @@ void RbUtilQt::downloadUpdateDone(bool error)
else {
QString toParse(update->readAll());
QRegExp searchString("<a[^>]*>(rbutilqt[^<]*)</a>");
QRegExp searchString("<a[^>]*>([a-zA-Z]+[^<]*)</a>");
QStringList rbutilList;
int pos = 0;
while ((pos = searchString.indexIn(toParse, pos)) != -1)

View file

@ -200,7 +200,7 @@ dbg {
message("release")
}
TARGET = rbutilqt
TARGET = RockboxUtility
FORMS += rbutilqtfrm.ui \
aboutbox.ui \