Skip to content

Commit 6f9d30a

Browse files
authored
Merge pull request #239 from espressif/fix/online_installer_crash
Fix/online installer crash
2 parents fc7aec6 + c5744fd commit 6f9d30a

11 files changed

+15
-15
lines changed

Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ param (
1111
[String]
1212
$IdfPythonShortVersion = '3.11',
1313
[String]
14-
$GitVersion = '2.43.0',
14+
$GitVersion = '2.44.0',
1515
[String]
1616
[ValidateSet('online', 'offline', 'espressif-ide')]
1717
$InstallerType = 'online',

src/InnoSetup/Environment.iss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ begin
270270
Log('Setting core.fileMode on repository: ' + CmdLine);
271271
DoCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingFileMode'), CmdLine);
272272
273-
Log('Setting core.fileMode on repository for submodules: ' + CmdLine);
274273
CmdLine := GitExecutablePath + ' -C ' + Path + ' submodule foreach --recursive git config --local core.fileMode false';
275-
DoCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingFileModeInSubmodules'), CmdLine);
274+
Log('Setting core.fileMode on repository for submodules: ' + CmdLine);
275+
PerformCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingFileModeInSubmodules'), CmdLine);
276276
end;
277277
278278
{ Run git reset --hard in the repo and in the submodules, to fix the newlines. }
@@ -289,9 +289,9 @@ begin
289289
Log('Resetting the repository: ' + CmdLine);
290290
DoCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingNewLines'), CmdLine);
291291
292-
Log('Resetting the submodules: ' + CmdLine);
293292
CmdLine := GitExecutablePath + ' -C ' + Path + ' submodule foreach git reset --hard';
294-
DoCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingNewLinesInSubmodules'), CmdLine);
293+
Log('Resetting the submodules: ' + CmdLine);
294+
PerformCmdlineInstall(CustomMessage('FinishingEspIdfInstallation'), CustomMessage('UpdatingNewLinesInSubmodules'), CmdLine);
295295
end;
296296
297297
{ Run git clean - clean leftovers after switching between tags }

src/InnoSetup/IdfToolsSetup.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifdef VERSION
1515
#define MyAppVersion VERSION
1616
#else
17-
#define MyAppVersion "2.24"
17+
#define MyAppVersion "2.25"
1818
#endif
1919

2020
#define MyAppPublisher "Espressif Systems (Shanghai) Co. Ltd."
@@ -37,7 +37,7 @@
3737
;#define PythonInstallerDownloadURL "https://github.com/espressif/idf-python/releases/download/v" + PYTHONVERSION + "/idf-python-" + PYTHONVERSION + "-embed-win64.zip"
3838

3939
#ifndef GITVERSION
40-
#define GITVERSION "2.43.0"
40+
#define GITVERSION "2.44.0"
4141
#endif
4242
#define GitInstallerName "idf-git-" + GITVERSION + "-win64.zip"
4343
#define GitInstallerDownloadURL "https://dl.espressif.com/dl/idf-git/" + GitInstallerName

src/InnoSetup/Languages/IdfToolsSetup_cs-CZ.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RunEclipse=Spustit Espressif-IDE
8888
RunPowerShell=Spustit ESP-IDF PowerShell Environment
8989
RunCmd=Spustit ESP-IDF Command Prompt Environment
9090
InstallationCancelled=Instalace byla zrušena.
91-
InstallationFailed=Instalace selhala s návratovým kódem
91+
InstallationFailed=Během instalace se vyskytla chyba (nemusí být kritická). Návratový kód:
9292
InstallationFailedAtStep=Instalace selhala v kroku:
9393
DirectoryAlreadyExists=Složka již existuje nebo není prázdná:
9494
ChooseDifferentDirectory=Vyberte jinou složku.

src/InnoSetup/Languages/IdfToolsSetup_en-US.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RunEclipse=Run Espressif-IDE
8888
RunPowerShell=Run ESP-IDF PowerShell Environment
8989
RunCmd=Run ESP-IDF Command Prompt Environment
9090
InstallationCancelled=Installation has been cancelled.
91-
InstallationFailed=Installation has failed with exit code
91+
InstallationFailed=The installation process has encountered an error (which may not be critical). Exit code:
9292
InstallationFailedAtStep=Installation has failed at step:
9393
DirectoryAlreadyExists=Directory already exists and is not empty:
9494
ChooseDifferentDirectory=Please choose a different directory.

src/InnoSetup/Languages/IdfToolsSetup_es-ES.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RunEclipse=Ejecutar ambiente Espressif-IDE
8989
RunPowerShell=Ejecutar ambiente ESP-IDF PowerShell
9090
RunCmd=Ejecutar ambiente ESP-IDF Command Prompt
9191
InstallationCancelled=La instalación ha sido cancelada.
92-
InstallationFailed=La instalación ha fallado con el código:
92+
InstallationFailed=El proceso de instalación ha encontrado un error (que puede no ser crítico). Código de salida:
9393
InstallationFailedAtStep=La instalación ha fallado en el paso:
9494
DirectoryAlreadyExists=El directorio ya existe y no está vacío:
9595
ChooseDifferentDirectory=Por favor elija un directorio diferente.

src/InnoSetup/Languages/IdfToolsSetup_pt-BR.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RunEclipse=Executar ambiente Espressif-IDE
8989
RunPowerShell=Executar o ambiente ESP-IDF PowerShell
9090
RunCmd=Executar ambiente ESP-IDF Prompt de Comando
9191
InstallationCancelled=A instalação foi cancelada.
92-
InstallationFailed=A instalação falhou com o seguinte código
92+
InstallationFailed=O processo de instalação encontrou um erro (que pode não ser crítico). Código de saída:
9393
InstallationFailedAtStep=A instalação falhou no seguinte passo:
9494
DirectoryAlreadyExists=Diretório já existe e não está vazio:
9595
ChooseDifferentDirectory=Por favor escolha um outro diretório.

src/InnoSetup/Languages/IdfToolsSetup_pt-PT.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RunEclipse=Executar ambiente Espressif-IDE
8989
RunPowerShell=Executar o ambiente ESP-IDF PowerShell
9090
RunCmd=Executar ambiente ESP-IDF Prompt de Comando
9191
InstallationCancelled=A instalação foi cancelada.
92-
InstallationFailed=A instalação falhou com o seguinte código
92+
InstallationFailed=O processo de instalação encontrou um erro (que pode não ser crítico). Código de saída:
9393
InstallationFailedAtStep=A instalação falhou no seguinte passo:
9494
DirectoryAlreadyExists=Diretório já existe e não está vazio:
9595
ChooseDifferentDirectory=Por favor escolha um outro diretório.

src/InnoSetup/Languages/IdfToolsSetup_sk-SK.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RunEclipse=Spustiť Espressif-IDE
8888
RunPowerShell=Spustiť ESP-IDF PowerShell Environment
8989
RunCmd=Spustiť ESP-IDF Command Prompt Environment
9090
InstallationCancelled=Inštalácia bola zrušená.
91-
InstallationFailed=Inštalácia zlyhala s návratovým kódom
91+
InstallationFailed=Počas inštalácie sa vyskytla chyba (nemusí byť kritická). Návratový kód:
9292
InstallationFailedAtStep=Inštalácia zlyhala v kroku:
9393
DirectoryAlreadyExists=Zložka už existuje alebo nie je prázdna:
9494
ChooseDifferentDirectory=Vyberte inú zložku.

src/InnoSetup/Languages/IdfToolsSetup_zh-CN.isl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RunEclipse=运行 Espressif-IDE 环境
8888
RunPowerShell=运行 ESP-IDF PowerShell 环境
8989
RunCmd=运行 ESP-IDF 命令提示符环境
9090
InstallationCancelled=安装已取消。
91-
InstallationFailed=安装失败,退出代码为
91+
InstallationFailed=安装过程遇到错误(可能并不严重)。 退出代码:
9292
InstallationFailedAtStep=安装失败,失败步骤为:
9393
DirectoryAlreadyExists=目录已经存在且并不为空:
9494
ChooseDifferentDirectory=请另外选择目录。

0 commit comments

Comments
 (0)