Skip to content

Commit 84e915c

Browse files
committed
Fix manager shortcut
1 parent 6efcb5d commit 84e915c

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

LMPA.lnk

0 Bytes
Binary file not shown.

box.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files": [
3+
"LMPA.lnk",
4+
"manager.ps1",
5+
"mod_fcgid.so",
6+
"pecl.json"
7+
]
8+
}

composer.lock

+9-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
const LMPA_VERSION = '0.2.0';
2+
const LMPA_VERSION = '0.2.1';
33
define("APP_DIRECTORY", dirname(__FILE__));
44

55
if(PHP_OS !== "WINNT") exit("Only work on windows");

manager.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Get-Childitem -Path "C:\laragon\bin\php\php-*\php.exe" | ForEach-Object {
2-
Start-Process -FilePath $_.FullName -ArgumentList 'C:\laragon\etc\apps\LMPA\index.phar'; break;
2+
$arg = '/c ' + $_.FullName + ' C:\laragon\etc\apps\LMPA\index.phar & pause';
3+
Start-Process -FilePath cmd -ArgumentList $arg; break;
34
}

0 commit comments

Comments
 (0)