Compare commits

..

2 Commits

2 changed files with 7 additions and 2 deletions

View File

@ -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.83</AssemblyVersion> <AssemblyVersion>2.84</AssemblyVersion>
<FileVersion>2.83</FileVersion> <FileVersion>2.84</FileVersion>
<Company>SPT</Company> <Company>SPT</Company>
</PropertyGroup> </PropertyGroup>

View File

@ -182,6 +182,11 @@ public class MessageViewModel : ViewModelBase
try try
{ {
if (data.TargetInstallPath == Environment.CurrentDirectory)
{
return;
}
File.Copy(App.LogPath, Path.Join(data.TargetInstallPath, "spt-installer.log"), true); File.Copy(App.LogPath, Path.Join(data.TargetInstallPath, "spt-installer.log"), true);
} }
catch (Exception ex) catch (Exception ex)