File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
1414 description : The icon of the executable file is specified
1515 required : false
1616 default : ' '
17+ base :
18+ description : The base file to be used for Ahk2Exe
19+ required : false
20+ default : ' Unicode 32-bit'
1721
1822runs :
1923 using : composite
@@ -26,11 +30,12 @@ runs:
2630 Expand-Archive -Path "$cwd\autohotkey.zip" -DestinationPath "$cwd\_autohotkey\" -Force;
2731 Remove-Item -Path "$cwd\autohotkey.zip" -Force
2832 Write-Output ("$cwd\_autohotkey\;" + "$cwd\_autohotkey\Compiler") | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
33+ Write-Output ("BaseFile=$cwd\_autohotkey\Compiler\${{inputs.base}}") | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
2934
3035 - name : Run Ahk2Exe
3136 shell : pwsh
3237 run : |
33- $command = 'ahk2exe.exe /silent '
38+ $command = 'ahk2exe.exe /silent verbose /base "$Env:BaseFile" '
3439 if('${{inputs.in}}' -ne ''){
3540 $command += '/in "${{inputs.in}}" '
3641 }
You can’t perform that action at this time.
0 commit comments