Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
[RLR-T-19] Update build number and add validation to installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Oct 26, 2023
1 parent 8e49d86 commit 9342822
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
8 changes: 4 additions & 4 deletions RogueLegacy/LevelENV.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RogueLegacyRandomizer - LevelENV.cs
// Last Modified 2023-10-25 6:35 PM
//
// Last Modified 2023-10-26 4:24 PM
//
// This project is based on the modified disassembly of Rogue Legacy's engine, with permission to do so by its
// original creators. Therefore, the former creators' copyright notice applies to the original disassembly.
//
//
// Original Source - © 2011-2018, Cellar Door Games Inc.
// Rogue Legacy™ is a trademark or registered trademark of Cellar Door Games Inc. All Rights Reserved.

Expand Down Expand Up @@ -58,7 +58,7 @@ public static class LevelENV
public static Version TargetVersion => Version.Parse("1.0.0");
public static int PreRelease => 6;
public static string FullVersion => $"v{TargetVersion}" + (PreRelease > 0 ? $" Alpha {PreRelease}" : "");
public static string VersionSubtitle => "Development Build 2023-XX-XX";
public static string VersionSubtitle => "Development Build 2023-10-26";

static LevelENV()
{
Expand Down
15 changes: 13 additions & 2 deletions inno/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define MyAppId "{6741975E-782A-438F-8C05-502EDB37E7DB}"
#define MyAppName "Rogue Legacy Randomizer"
#define MyAppVersion "1.0.0 Alpha 5"
#define MyAppVersion "1.0.0 Alpha 6"
#define MyAppPublisher "Zach Parks & Cellar Door Games"
#define MyAppURL "https://github.com/ThePhar/RogueLegacyRandomizer"
#define MyAppExeName "Rogue Legacy Randomizer.exe"
Expand Down Expand Up @@ -82,7 +82,18 @@ procedure InitializeWizard();
begin
CopyDirPage := CreateInputDirPage(wpSelectDir, 'Select your vanilla Rogue Legacy source directory.', '', '', False, '');
CopyDirPage.Add('Source directory:');
CopyDirPage.Values[0] := 'C:\Program Files (x86)\Steam\steamapps\common\Rogue Legacy';
CopyDirPage.Values[0] := '';
end;
function NextButtonClick(CurPageId: Integer): Boolean;
begin
Result := True
Log(CopyDirPage.Values[0]);
if (CurPageId = CopyDirPage.Id) and not FileExists(CopyDirPage.Values[0] + '/RogueLegacy.exe') then begin
MsgBox('RogueLegacy.exe does not appear to be preset in that folder. Please select the correct folder.', mbError, MB_OK);
Result := False;
exit;
end;
end;
function CopyDir(Params: string): string;
Expand Down

0 comments on commit 9342822

Please sign in to comment.