Skip to content

Commit

Permalink
Merge pull request #75 from RWELabs/development
Browse files Browse the repository at this point in the history
Emergency Patch (v220702) to Stable
  • Loading branch information
RyanWalpole authored Jul 8, 2022
2 parents 064dff6 + d04ab44 commit 1ab93b4
Show file tree
Hide file tree
Showing 29 changed files with 76 additions and 46 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<value />
</setting>
<setting name="Version" serializeAs="String">
<value>220701</value>
<value>220702</value>
</setting>
<setting name="CheckUpdateOnStartup" serializeAs="String">
<value>TRUE</value>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("22.07.00.01")]
[assembly: AssemblyFileVersion("22.07.00.01")]
[assembly: AssemblyVersion("22.07.00.02")]
[assembly: AssemblyFileVersion("22.07.00.02")]
[assembly: NeutralResourcesLanguage("en-AU")]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="Version" Type="System.String" Scope="User">
<Value Profile="(Default)">220701</Value>
<Value Profile="(Default)">220702</Value>
</Setting>
<Setting Name="CheckUpdateOnStartup" Type="System.String" Scope="User">
<Value Profile="(Default)">TRUE</Value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,36 +179,44 @@ private void CheckForUpdates_RunWorkerCompleted(object sender, RunWorkerComplete
}
else
{
//Alert to available update
DialogResult dr = MessageBox.Show("There are updates available for Stardew Mod Manager. Would you like to download and install the latest version?", "Update | Stardew Valley Mod Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

//User clicks yes
if (dr == DialogResult.Yes)
if(Status.Text == "Updates available.")
{
try
//Alert to available update
DialogResult dr = MessageBox.Show("There are updates available for Stardew Mod Manager. Would you like to download and install the latest version?", "Update | Stardew Valley Mod Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

//User clicks yes
if (dr == DialogResult.Yes)
{
try
{
//Process.Start(LatestRelease);
UpdateDownload download = new UpdateDownload();
download.ShowDialog();
Status.Text = "Launching Mod Manager...";
Cleanup.Start();
}
catch
{
Status.Text = "Issue updating. Launching Mod Manager...";
Cleanup.Start();
}
}
else if (dr == DialogResult.No)
{
//Process.Start(LatestRelease);
UpdateDownload download = new UpdateDownload();
download.ShowDialog();
Status.Text = "Launching Mod Manager...";
Cleanup.Start();
LaunchApplicationNow();
}
catch
else
{
Status.Text = "Issue updating. Launching Mod Manager...";
Cleanup.Start();
Status.Text = "Launching Mod Manager...";
LaunchApplicationNow();
}
}
else if(dr == DialogResult.No)
{
Status.Text = "Launching Mod Manager...";
Cleanup.Start();
}
else
{
Status.Text = "Launching Mod Manager...";
Cleanup.Start();
LaunchApplicationNow();
}

}
}

Expand Down
Binary file not shown.
Git LFS file not shown
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<value />
</setting>
<setting name="Version" serializeAs="String">
<value>220701</value>
<value>220702</value>
</setting>
<setting name="CheckUpdateOnStartup" serializeAs="String">
<value>TRUE</value>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a047d781ee0052058123ec1f66e76e50ae002f91
21de7a232b4340ca341af0b43783e044006dc448
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,4 @@ C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manag
C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\obj\Release\Stardew Mod Manager.exe
C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\obj\Release\Stardew Mod Manager.pdb
C:\Users\rwalpole\Documents\GitHub\Stardew-Valley-Mod-Framework\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\obj\Release\Stardew_Mod_Manager.Forms.SMAPI_Updater.resources
C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\obj\Release\Stardew_Mod_Manager.Forms.SMAPI_Updater.resources
Binary file not shown.
Git LFS file not shown
Binary file not shown.
Binary file not shown.
35 changes: 25 additions & 10 deletions version/Install Scripts/SDV_InstallerScript_320WSR.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Stardew Valley Mod Manager"
#define MyAppVersion "220302"
#define MyAppPublisher "RWE Softworks, Ryan Walpole Enterprises"
#define MyAppURL "https://www.ryanwalpole.com/"
#define MyAppVersion "220702"
#define MyAppPublisher "RWE Labs"
#define MyAppURL "https://rwe.app/labs/sdvmm"
#define RWELabsURL "https://rwelabs.github.io/"
#define SDVMMDocs "https://rwe.app/labs/sdvmm/docs"
#define MyAppExeName "Stardew Mod Manager.exe"
#define MyAppAssocName "Stardew Valley Modpack File"
#define MyAppAssocExt ".sdvmp"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt

[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
Expand All @@ -15,29 +20,39 @@ AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppPublisherURL={#RWELabsURL}
AppSupportURL={#SDVMMDocs}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\Program Files (x86)\RWE Labs\Stardew Valley Mod Manager\
ChangesAssociations=yes
DisableDirPage=yes
LicenseFile=C:\Users\ryanw\Documents\GitHub\SDV\license.rtf
LicenseFile=C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\web\license.rtf
DefaultGroupName=Stardew Valley Mod Manager
DisableProgramGroupPage=yes
OutputDir=C:\Users\ryanw\Documents\GitHub\SDV\version
OutputDir=C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\version\Latest\
OutputBaseFilename=StardewModManagerSetup
SetupIconFile=C:\Users\ryanw\Documents\GitHub\SDV\source-code\Mod Manager\Stardew Mod Manager\Resources\defaultsdvicon.ico
SetupIconFile=CC:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager\Stardew Mod Manager\Resources\defaultsdvicon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
UninstallDisplayIcon={app}\{#MyAppExeName}
UninstallDisplayName=Stardew Valley Mod Manager

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "C:\Users\ryanw\Documents\GitHub\SDV\source-code\Mod Manager\Stardew Mod Manager\bin\Release\Stardew Mod Manager.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\ryanw\Documents\GitHub\SDV\source-code\Mod Manager\Stardew Mod Manager\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\bin\Release\Stardew Mod Manager.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\ryanw\Documents\GitHub\Stardew-Valley-Mod-Manager\source-code\Mod Manager (Facelift Development)\Stardew Mod Manager\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\SDVMPFile.ico,0"
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

Expand Down
4 changes: 2 additions & 2 deletions version/Latest/StardewModManagerSetup.exe
Git LFS file not shown
3 changes: 3 additions & 0 deletions version/SDVMM_v220701.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions version/StardewModManagerSetup.exe
Git LFS file not shown
3 changes: 1 addition & 2 deletions web/uc.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<xml>
CVER:
- 220601
- 220701
- 220702
</xml>

0 comments on commit 1ab93b4

Please sign in to comment.