Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek committed May 25, 2023
1 parent f922034 commit 4f5969f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion InnoSetup/Setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ AppUpdatesURL=https://github.com/sefinek24/Genshin-Impact-ReShade/wiki/14.-Chang
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64
MinVersion=6.1sp1
DefaultDirName=C:\Genshin-Impact-ReShade
DefaultDirName=C:\Genshin-Stella-Mod
DisableDirPage=no
ChangesAssociations=no
DisableProgramGroupPage=no
Expand Down
6 changes: 3 additions & 3 deletions Install required dependencies/Forms/SelectShadersPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ private void Browse_Click(object sender, EventArgs e)
using (FolderBrowserDialog dialog = new FolderBrowserDialog())
{
dialog.SelectedPath = Program.ProgramFiles;
dialog.Description = "Select the game folder";
dialog.Description = @"Select the game folder";
if (dialog.ShowDialog() != DialogResult.OK) return;
string selectedFolder = dialog.SelectedPath;
if (File.Exists(Path.Combine(selectedFolder, "UnityPlayer.dll")))
{
MessageBox.Show("That's not the right place.", Program.AppName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show(@"That's not the right place.", Program.AppName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
Expand All @@ -42,7 +42,7 @@ private void Browse_Click(object sender, EventArgs e)

if (string.IsNullOrEmpty(folderPath)) return;
comboBox1.Items.Clear();
comboBox1.Items.Add(Path.Combine(folderPath, "Genshin-Stella-Mod"));
comboBox1.Items.Add(Path.Combine(folderPath, "Stella-Mod-Resources"));
comboBox1.SelectedIndex = 0;
}

Expand Down

0 comments on commit 4f5969f

Please sign in to comment.