everything-cli: Modify pre_install

related: #3650
This commit is contained in:
Issac Lin 2022-06-05 15:59:54 +08:00 committed by GitHub
parent 188521b779
commit 37a485bfc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
"hash": "e8ac817ae276ba1d12044a65444c109f284015ba985d29201a9fd4f38b5e6187",
"pre_install": [
"$manifest.persist | ForEach-Object {",
" if (-not (Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -Force -ItemType file | Out-Null }",
" if (-not (Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType file | Out-Null }",
"}"
],
"bin": "es.exe",