Skip to content

Commit

Permalink
修复因使用contextmenu导致的开机启动失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeric-X committed May 26, 2017
1 parent 2f38780 commit 8444fb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes.md
@@ -1,3 +1,6 @@
v1.0.5
- Fix start with boot

v1.0.4
- change contextmenu style
- othor optimization
Expand Down
2 changes: 1 addition & 1 deletion SyncClipboard/Control/MainController.cs
Expand Up @@ -164,7 +164,7 @@ private void 开机启动MenuItem_Click(object sender, EventArgs e)
{
try
{
if (this.开机启动MenuItem.Checked == true)
if (this.开机启动MenuItem.Checked != true)
{
Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", Program.SoftName, Application.ExecutablePath);
}
Expand Down
2 changes: 1 addition & 1 deletion SyncClipboard/UpdateChecker.cs
Expand Up @@ -12,7 +12,7 @@ namespace SyncClipboard
{
class UpdateChecker
{
public const string Version = "1.0.4";
public const string Version = "1.0.5";
public const string UpdateUrl = "https://api.github.com/repos/Jeric-X/SyncClipboard/releases/latest";
public const string ReleaseUrl = "https://github.com/Jeric-X/SyncClipboard/releases/latest";

Expand Down

0 comments on commit 8444fb3

Please sign in to comment.