Skip to content

Commit

Permalink
fix invalid InitialDirectory and add note for cuttingedge
Browse files Browse the repository at this point in the history
+ Add note for using osu!cuttingedge.
* Fix invalid InitialDirectory for OpenFileDialog.
  • Loading branch information
yo-ru committed Mar 11, 2021
1 parent d950fcd commit fc24d8b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Switchless.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Release|Any CPU.Build.0 = Debug|Any CPU
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{81CB5102-8AD5-469F-A9C1-847EB0B6ECB9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
14 changes: 14 additions & 0 deletions Switchless/Form.Designer.cs

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

2 changes: 1 addition & 1 deletion Switchless/Form.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private void selectOsuClick(object sender, EventArgs e)
OpenFileDialog fdlg = new OpenFileDialog
{
Title = "Select your osu!.exe file",
InitialDirectory = @"c:\%appdata%",
InitialDirectory = @"%appdata%/../Local/osu!",
FileName = "osu!.exe",
Filter = "Exe Files (.exe)|*.exe|All Files (*.*)|*.*",
FilterIndex = 1,
Expand Down

0 comments on commit fc24d8b

Please sign in to comment.