X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=installer%2Fsrc%2Finstaller.ec;h=fb05b35ecb111f78d5d16ce6350f8a547a41ed98;hb=cf37e3addcf039065340e429f0c3e1cf30849bb2;hp=bdd12ca06d7e9ef240136150aa8c985d323e82ef;hpb=c83ed4feb57d3497b5e0ab4a03eea02422a6acfa;p=sdk diff --git a/installer/src/installer.ec b/installer/src/installer.ec index bdd12ca..fb05b35 100644 --- a/installer/src/installer.ec +++ b/installer/src/installer.ec @@ -1,5 +1,5 @@ -static define versionString = "Ecere SDK v0.44.11"; -static define dateString = $"February 16th, 2015"; +static define versionString = "Ecere SDK v0.44.15"; +static define dateString = $"August 3, 2016"; static define builtOnString = $"built on "; static define withoutMinGW = $" (Without MinGW)"; @@ -286,11 +286,11 @@ public enum CoreSDKID Array coreSDK { [ - { "Ecere IDE", "ecere-sdk/ide", "bin", null, true, true, true, bits64 }, - { "Ecere IDE", "ecere-sdk32/ide", "bin", null, true, true, true, bits32 }, - { $"Runtime Library", "ecere-sdk/ecere.dll", "bin", null, true, true, true, bits64 }, + { "Ecere IDE", "ecere-sdk/ecere-ide", "bin", null, true, true, true, bits64 }, + { "Ecere IDE", "ecere-sdk32/ecere-ide", "bin", null, true, true, true, bits32 }, + { $"Runtime Library", "ecere-sdk/ecere.dll", "bin", null, true, true, true, bits64 }, { $"Runtime Library", "ecere-sdk32/ecere.dll", "bin", null, true, true, true, bits32 }, - { $"eC Compiler", "ecere-sdk/compiler", "bin", null, true, true, true, bits64 }, + { $"eC Compiler", "ecere-sdk/compiler", "bin", null, true, true, true, bits64 }, { $"eC Compiler", "ecere-sdk32/compiler", "bin", null, true, true, true, bits32 }, { $"GNU C Compiler", "tdm/gcc/core", "tdm", null, true, true, minGWIncluded, none }, { $"GNU Debugger", "tdm/gdb", "tdm", null, true, true, minGWIncluded, none }, @@ -446,7 +446,7 @@ class Installer : Window tabCycle = true; clientSize = { 636, 476 }; icon = { ":icon.png" }; - caption = $"Ecere Software Development Kit Setup - v0.44.11 \"Ryōan-ji\" 64 Bit Edition"; + caption = $"Ecere Software Development Kit Setup - v0.44.15 \"Ryōan-ji\" Web Edition"; // clientSize = { 796, 576 }; bool loaded; @@ -1194,7 +1194,7 @@ class Installer : Window class InstallProgress : Window { - caption = $"Ecere Software Development Kit Setup - v0.44.11 \"Ryōan-ji\" 64 Bit Edition"; + caption = $"Ecere Software Development Kit Setup - v0.44.15 \"Ryōan-ji\" Web Edition"; background = activeBorder; borderStyle = fixed; hasMinimize = true; @@ -1428,6 +1428,7 @@ class InstallThread : Thread // Configure IDE IDESettings settings = null; // Don't instantiate yet so we can pick up old settings + CompilerConfigs configs { }; IDESettingsContainer settingsContainer { @@ -1442,7 +1443,9 @@ class InstallThread : Thread ((GuiApplication)__thisModule).SignalEvent(); settingsContainer.Load(); - compiler = settings.GetCompilerConfig(defaultCompilerName); + configs.read(settingsContainer); + + compiler = configs.GetCompilerConfig(defaultCompilerName); if(compiler) { { @@ -1460,7 +1463,7 @@ class InstallThread : Thread if((c == ide && osIS64bit) || (c == ide32 && !osIS64bit)) { coreSDK[c].GetFullPath(idePath, false); - PathCat(idePath, "ide.exe"); + PathCat(idePath, "ecere-ide.exe"); } if(c == runtime || c == runtime32) @@ -1537,8 +1540,14 @@ class InstallThread : Thread } settingsContainer.Save(); + { + AVLTree cfgsToWrite { [ compiler.name ] }; + configs.write(settingsContainer, cfgsToWrite); + delete cfgsToWrite; + } delete settingsContainer; delete settings; + delete configs; // Set up Uninstaller ((GuiApplication)__thisModule).Lock();