Skip to content

Commit

Permalink
Merge pull request #38 from dremin/fix-autostart-path
Browse files Browse the repository at this point in the history
Fix auto start path for published exe
  • Loading branch information
dremin authored Jul 11, 2021
2 parents 96b7e99 + b8fbb27 commit dd7e553
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 dd7e553

Please sign in to comment.