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

@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Rockbox Utility</string> <string>RockboxUtility</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>Rockbox Utility</string> <string>Rockbox Utility</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>

View file

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

View file

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

View file

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