Skip to content

Commit 9f7623f

Browse files
committed
Fix 1-click-installer path being nulled if copying itself fails
1 parent 4206ccd commit 9f7623f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
// You can specify all the values or you can default the Build and Revision Numbers
3535
// by using the '*' as shown below:
3636
// [assembly: AssemblyVersion("1.0.*")]
37-
[assembly: AssemblyVersion("18.05.7.*")]
37+
[assembly: AssemblyVersion("18.06.0.*")]
3838
[assembly: AssemblyFileVersion("1.0.0.0")]

src/GameModder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public void Install() {
5151
installerPath = Path.Combine(Info.CurrentGamePath, Path.GetFileName(installerTmpPath));
5252
File.Copy(installerTmpPath, installerPath, true);
5353
} catch {
54-
installerPath = null;
5554
}
5655
// Sneaky step: Set up URI handler.
5756
if (!string.IsNullOrEmpty(Info.ModURIProtocol) &&

0 commit comments

Comments
 (0)