Skip to content

Commit d1d4f60

Browse files
committed
fix: autostart of AutoHotKey without console window
1 parent 4d4361f commit d1d4f60

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bin/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Function New-Startup-Shortcut {
4848
# Initial bootstrapping (scoop and other dependencies)
4949
function Invoke-Bootstrap {
5050
# Download bootstrap scripts from external repository
51-
Invoke-RestMethod https://raw.githubusercontent.com/avengineers/bootstrap-installer/refs/tags/$bootstrap_git_tag/install.ps1 | Invoke-Expression
51+
Invoke-RestMethod -Uri https://raw.githubusercontent.com/avengineers/bootstrap-installer/refs/tags/$bootstrap_git_tag/install.ps1 | Invoke-Expression
5252
# Execute bootstrap script
5353
. .\.bootstrap\bootstrap.ps1
5454
}

tools/AutoHotKey/hotkeys.cmd

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@echo off
22

33
set "THIS_DIR=%~dp0"
4-
AutoHotkey.exe "%THIS_DIR%hotkeys.ahk" || pause
5-
exit /b %ERRORLEVEL%
4+
start "" AutoHotkey.exe "%THIS_DIR%hotkeys.ahk" || pause

0 commit comments

Comments
 (0)