Compare commits
2 Commits
e93f0d62a6
...
1893e4e908
Author | SHA1 | Date | |
---|---|---|---|
1893e4e908 | |||
086c7d7674 |
@ -10,8 +10,8 @@
|
|||||||
<PackageIcon>icon.ico</PackageIcon>
|
<PackageIcon>icon.ico</PackageIcon>
|
||||||
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release;TEST</Configurations>
|
<Configurations>Debug;Release;TEST</Configurations>
|
||||||
<AssemblyVersion>2.90</AssemblyVersion>
|
<AssemblyVersion>2.91</AssemblyVersion>
|
||||||
<FileVersion>2.90</FileVersion>
|
<FileVersion>2.91</FileVersion>
|
||||||
<Company>SPT</Company>
|
<Company>SPT</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -152,6 +152,17 @@ public class InstallPathSelectionViewModel : ViewModelBase
|
|||||||
|
|
||||||
_data.TargetInstallPath = SelectedPath;
|
_data.TargetInstallPath = SelectedPath;
|
||||||
|
|
||||||
|
_data.OriginalGamePath = PreCheckHelper.DetectOriginalGamePath();
|
||||||
|
|
||||||
|
#if !TEST
|
||||||
|
if (_data.OriginalGamePath == null)
|
||||||
|
{
|
||||||
|
NavigateTo(new MessageViewModel(HostScreen,
|
||||||
|
Result.FromError("Could not find where you installed EFT.\n\nDo you own and have the game installed?")));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
NavigateTo(new PreChecksViewModel(HostScreen));
|
NavigateTo(new PreChecksViewModel(HostScreen));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -128,21 +128,10 @@ public class PreChecksViewModel : ViewModelBase
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
data.OriginalGamePath = PreCheckHelper.DetectOriginalGamePath();
|
|
||||||
|
|
||||||
InstallPath = data.TargetInstallPath;
|
InstallPath = data.TargetInstallPath;
|
||||||
|
|
||||||
Log.Information($"Install Path: {FileHelper.GetRedactedPath(InstallPath)}");
|
Log.Information($"Install Path: {FileHelper.GetRedactedPath(InstallPath)}");
|
||||||
|
|
||||||
#if !TEST
|
|
||||||
if (data.OriginalGamePath == null)
|
|
||||||
{
|
|
||||||
NavigateTo(new MessageViewModel(HostScreen,
|
|
||||||
Result.FromError("Could not find where you installed EFT.\n\nDo you own and have the game installed?")));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (data.OriginalGamePath == data.TargetInstallPath)
|
if (data.OriginalGamePath == data.TargetInstallPath)
|
||||||
{
|
{
|
||||||
Log.CloseAndFlush();
|
Log.CloseAndFlush();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user