Skip to content

Commit

Permalink
Fix auto start path for published exe
Browse files Browse the repository at this point in the history
  • Loading branch information
dremin committed Jul 11, 2021
1 parent 96b7e99 commit b8fbb27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RetroBar/PropertiesWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ private void AutoStartCheckBox_OnChecked(object sender, RoutedEventArgs e)
}
else
{
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
rKey?.SetValue("RetroBar", exePath);
rKey?.SetValue("RetroBar", ExePath.GetExecutablePath());
}
}
catch (Exception exception)
Expand Down

0 comments on commit b8fbb27

Please sign in to comment.