Skip to content

Commit

Permalink
Fix issue with mising package in autoinstall (non nav only)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fma965 committed Sep 6, 2023
1 parent 808d639 commit 3774724
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Launcher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CyanLabs")]
[assembly: AssemblyProduct("Launcher")]
[assembly: AssemblyCopyright("Copyright © CyanLabs 2022")]
[assembly: AssemblyCopyright("Copyright © CyanLabs 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down Expand Up @@ -37,5 +37,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.12.1.0")]
[assembly: AssemblyFileVersion("2.12.1.0")]
[assembly: AssemblyVersion("2.12.2.0")]
[assembly: AssemblyFileVersion("2.12.2.0")]
4 changes: 2 additions & 2 deletions Syn3Updater/Languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
"MessageBox.LogUtilityInvalidFile": "El archivo XML que ha seleccionado no pudo ser leído, por favor asegúrese que sea el archivo correcto. Si está seguro que es el archivo correcto por favor contacte a CyanLabs a través del foro o servidor Discord para poder investigar.",
"Utility.GracenotesRemovalTitle": "Crear USB para Remover GRACENOTES",
"Utility.GracenotesRemovalDesc": "Use ésta función para crear un USB para forzar la remoción de GRACENOTES de su sistema.",
"Utility.GracenotesButton": "Preparar Unidad USB",
"Utility.GracenotesButton": "Preparar USB",
"MessageBox.GenericUtilityComplete": "La preparación del USB ha sido completada exitosamente!\n\nRemueva el USB de su computadora e insértelo en su vehículo, asegúrese que el motor esté en marcha y espere unos momentos hasta recibir \"Instalación Completa\"",
"Utility.VoiceShrinkerTitle": "Crear USB para paquete pequeño de VOICE",
"Utility.VoiceShrinkerDesc": "Use ésta función si después de remover GRACENOTES todavía tiene problemas MEM_ERR's",
"Utility.DowngradeTitle": "Crear Unidad USB de Downgrade",
"Utility.DowngradeTitle": "Crear USB de Downgrade",
"Utility.DowngradeDesc": "Use ésta función si después de remover GRACENOTES y encoger el paquete de voz aún recibe errores MEM_ERR",
"Utility.TroubleshootTitle": "Pasos para solucionar problemas",
"Utility.TroubleshootDesc": "Use las siguientes funciones para solucionar varios errores MEM_ERR que pueda recibir.",
Expand Down
6 changes: 3 additions & 3 deletions Syn3Updater/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CyanLabs")]
[assembly: AssemblyProduct("Syn3Updater")]
[assembly: AssemblyCopyright("Copyright © CyanLabs 2022")]
[assembly: AssemblyCopyright("Copyright © CyanLabs 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down Expand Up @@ -46,5 +46,5 @@
// You can specify all the values or you can default the Build a nd Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.12.1.0")]
[assembly: AssemblyFileVersion("2.12.1.0")]
[assembly: AssemblyVersion("2.12.2.0")]
[assembly: AssemblyFileVersion("2.12.2.0")]
13 changes: 7 additions & 6 deletions Syn3Updater/Services/DownloadViewModelService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,18 @@ public static StringBuilder CreateAutoInstallFile(string selectedRelease, string
{
autoinstalllst.Append($@"[SYNCGen3.0_ALL_PRODUCT]{Environment.NewLine}");

int itemstart = 0;
int currentitem = 1;
if (AppMan.App.Action != "logutility" && AppMan.App.Action != "logutilitymy20" && AppMan.App.Action != "gracenotesremoval" && AppMan.App.Action != "voiceshrinker" && AppMan.App.Action != "downgrade")
{
autoinstalllst.Append($@"Item1 = RWDataCleaner TOOL - {Api.RWDataCleaner.FileName}\rOpen1 = SyncMyRide\{Api.RWDataCleaner.FileName}\r").Replace(@"\r", Environment.NewLine);
itemstart = 1;
}
autoinstalllst.Append($@"Item{currentitem} = RWDataCleaner TOOL - {Api.RWDataCleaner.FileName}\rOpen{currentitem}= SyncMyRide\{Api.RWDataCleaner.FileName}\r").Replace(@"\r", Environment.NewLine);
currentitem = 2;
}

for (int i = itemstart; i < ivsuList.Count; i++)
for (int i = 0; i < ivsuList.Count; i++)
{
SModel.Ivsu item = ivsuList[i];
autoinstalllst.Append($@"Item{i + 1} = {item.Type} - {item.FileName}\rOpen{i + 1} = SyncMyRide\{item.FileName}\r").Replace(@"\r", Environment.NewLine);
autoinstalllst.Append($@"Item{currentitem} = {item.Type} - {item.FileName}\rOpen{currentitem} = SyncMyRide\{item.FileName}\r").Replace(@"\r", Environment.NewLine);
currentitem = currentitem + 1;
}

autoinstalllst.Append("Options = AutoInstall").Append(Environment.NewLine);
Expand Down

0 comments on commit 3774724

Please sign in to comment.