diff --git a/src/FlippedTaskbar11/Settings.cs b/src/FlippedTaskbar11/Settings.cs index ae1be3b..4c6d949 100644 --- a/src/FlippedTaskbar11/Settings.cs +++ b/src/FlippedTaskbar11/Settings.cs @@ -121,7 +121,10 @@ private void doSetupStuff() key.DeleteValue(REGISTRY_ITEM, false); } - key.SetValue(REGISTRY_ITEM, Assembly.GetEntryAssembly().Location); + var path = Assembly.GetEntryAssembly().Location; + if (path.EndsWith(".dll")) + path = path.Replace(".dll", ".exe"); + key.SetValue(REGISTRY_ITEM, path); } config.FirstRun = false;