Skip to content

Commit

Permalink
fix autostart bug
Browse files Browse the repository at this point in the history
  • Loading branch information
damien122 committed Mar 3, 2019
1 parent 8a2830b commit 0a1d35d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/_Startup.au3
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Func __StartupFolder_Uninstall($bIsInstall, $sName, $sFilePath, $sCommandline, $
EndIf

If $bIsInstall Then
$vReturn = FileCreateShortcut($sFilePath, $sStartup & '\' & $sName & '.lnk', $sStartup, $sCommandline) > 0
$vReturn = FileCreateShortcut($sFilePath, $sStartup & '\' & $sName & '.lnk', @ScriptDir, $sCommandline) > 0
Else
$vReturn = $vReturn > 0
EndIf
Expand Down
2 changes: 1 addition & 1 deletion src/gHotKeys.au3
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#AutoIt3Wrapper_Icon=..\diagram_v2_21.ico
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_Description=Tool to define global hotkeys for media control
#AutoIt3Wrapper_Res_Fileversion=1.0.0.2
#AutoIt3Wrapper_Res_Fileversion=1.0.0.3
#AutoIt3Wrapper_Res_ProductName=gHotKeys
#AutoIt3Wrapper_Res_CompanyName=Damien122
#AutoIt3Wrapper_Res_LegalCopyright=Damien122
Expand Down

0 comments on commit 0a1d35d

Please sign in to comment.