mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Ide: Minor fixes related to upgrade ide option.
git-svn-id: svn://ultimatepp.org/upp/trunk@12364 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
637742b9b7
commit
2bb6af2a15
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ void Ide::UpgradeTheIDE()
|
|||
String idepath = GetExeFilePath();
|
||||
String newpath = idepath + ".new";
|
||||
String bakpath(~idepath, GetFileExtPos(idepath));
|
||||
bakpath << ".bak.exe";
|
||||
bakpath << ".bak" << GetExeExt();
|
||||
|
||||
int tbak = targetmode;
|
||||
String tmbak = StoreAsString(release);
|
||||
|
|
|
|||
|
|
@ -389,6 +389,7 @@ void Ide::Setup(Bar& menu)
|
|||
menu.Add("Automatic build methods setup..", callback(InstantSetup))
|
||||
.Help("Setups/fixes build methods and basic assemblies..");
|
||||
#endif
|
||||
menu.MenuSeparator();
|
||||
menu.Add("Checkout and setup U++ SVN trunk sources..", [=] {
|
||||
if(SetupSVNTrunk()) {
|
||||
IdeAgain = true;
|
||||
|
|
@ -400,7 +401,7 @@ void Ide::Setup(Bar& menu)
|
|||
if(wspc[0] == "ide")
|
||||
for(int i = 0; i < wspc.GetCount(); i++)
|
||||
if(wspc[i] == "ide/Core")
|
||||
menu.Add("Upgrade theide..", [=] { UpgradeTheIDE(); });
|
||||
menu.Add("Upgrade TheIDE..", [=] { UpgradeTheIDE(); });
|
||||
|
||||
if(menu.IsMenuBar())
|
||||
SetupMobilePlatforms(menu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue