forked from len0rd/rockbox
Of course the moment you release, you spot that one bug.
Portable rbutil no longer tries to delete itself from the player if you decide to uninstall. Version bumped to 0.2.1.1 to avoid confusion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11759 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f938d8cc34
commit
177bd8ecf4
3 changed files with 14 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
|||
#define CREDITS_H_INCLUDED
|
||||
|
||||
#define RBUTIL_FULLNAME "The Rockbox Utility"
|
||||
#define RBUTIL_VERSION "Version 0.2.1.0"
|
||||
#define RBUTIL_VERSION "Version 0.2.1.1"
|
||||
|
||||
static const char* rbutil_developers[] = {
|
||||
"Christi Alice Scarborough",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#define RBUTIL 1
|
||||
#include <wx/msw/wx.rc>
|
||||
RBUTIL VERSIONINFO
|
||||
FILEVERSION 0,2,1,0
|
||||
PRODUCTVERSION 0,2,1,0
|
||||
FILEVERSION 0,2,1,1
|
||||
PRODUCTVERSION 0,2,1,1
|
||||
FILEOS 0x00000004
|
||||
FILETYPE 0x00000001
|
||||
BEGIN
|
||||
|
@ -10,8 +10,8 @@ BEGIN
|
|||
BEGIN
|
||||
BLOCK "FFFF0000"
|
||||
BEGIN
|
||||
VALUE "FileVersion", "0.2.1.0\0"
|
||||
VALUE "ProductVersion", "0.2.1.0\0"
|
||||
VALUE "FileVersion", "0.2.1.1\0"
|
||||
VALUE "ProductVersion", "0.2.1.1\0"
|
||||
VALUE "CompanyName", "Rockbox Team\0"
|
||||
VALUE "FileDescription", "Rockbox Utility\0"
|
||||
VALUE "InternalName", "rbutil\0"
|
||||
|
|
|
@ -432,6 +432,15 @@ int Uninstall(const wxString dir, bool isFullUninstall) {
|
|||
|
||||
for (i = 0; i < totalfiles; i++)
|
||||
{
|
||||
// If we're running on the device, let's not delete our own
|
||||
// installation, eh?
|
||||
if (gv->portable &&
|
||||
FilesToRemove->Item(i).StartsWith(wxT(PATH_SEP
|
||||
"RockboxUtility")) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
wxString* buf2 = new wxString;
|
||||
buf.Printf("%s%s", dir.c_str() , FilesToRemove->Item(i).c_str() );
|
||||
buf2->Format(_("Deleting %s"), buf.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue