diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-30 18:14:40 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-08-30 18:14:40 -0400 |
commit | 4af0786ecb6b16826b2a23b1448c3ab8f5ccd569 (patch) | |
tree | 2d2f6292cbce5432e71c4aac643b3a157599c2e5 /src/SMAPI.Installer/InteractiveInstaller.cs | |
parent | b5adfd8bce12afb885d6bb6a347d25e33be602af (diff) | |
download | SMAPI-4af0786ecb6b16826b2a23b1448c3ab8f5ccd569.tar.gz SMAPI-4af0786ecb6b16826b2a23b1448c3ab8f5ccd569.tar.bz2 SMAPI-4af0786ecb6b16826b2a23b1448c3ab8f5ccd569.zip |
fix assembly load security exceptions by restructuring installer and adding *.exe.config files (#582, #588)
Diffstat (limited to 'src/SMAPI.Installer/InteractiveInstaller.cs')
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index e6e71cf4..1da5c35a 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -440,7 +440,7 @@ namespace StardewModdingApi.Installer this.PrintDebug("Adding SMAPI files..."); foreach (FileSystemInfo sourceEntry in paths.PackageDir.EnumerateFileSystemInfos().Where(this.ShouldCopy)) { - if (sourceEntry.Name == this.InstallerFileName) + if (sourceEntry.Name.StartsWith(this.InstallerFileName)) // e.g. install.exe or install.exe.config continue; this.InteractivelyDelete(Path.Combine(paths.GameDir.FullName, sourceEntry.Name)); |