Skip to content

Commit

Permalink
Change multiline strings to arrays (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa authored and r15ch13 committed Jul 7, 2018
1 parent 54ae096 commit 5f042f0
Show file tree
Hide file tree
Showing 34 changed files with 300 additions and 255 deletions.
6 changes: 3 additions & 3 deletions anaconda3.json
Expand Up @@ -12,9 +12,9 @@
"python3"
]
],
"pre_install": "
Write-Host 'Installing Anaconda 3. This can take up to 30 minutes on an HDD.' -ForegroundColor Magenta
",
"pre_install": [
"Write-Host 'Installing Anaconda 3. This can take up to 30 minutes on an HDD.' -ForegroundColor Magenta"
],
"installer": {
"file": "anaconda3-installer.exe",
"args": [
Expand Down
18 changes: 10 additions & 8 deletions apache-ivy.json
Expand Up @@ -24,15 +24,17 @@
]
},
"installer": {
"script": "
$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"
Write-Host -fore blue \"Copying ivy-$version.jar to $antLibPath\"
Copy-Item \"$dir\\ivy-$version.jar\" $antLibPath"
"script": [
"$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
"Write-Host -fore blue \"Copying ivy-$version.jar to $antLibPath\"",
"Copy-Item \"$dir\\ivy-$version.jar\" $antLibPath"
]
},
"uninstaller": {
"script": "
$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"
Write-Host -fore blue \"Removing ivy-$version.jar from $antLibPath\"
Remove-Item -force $antLibPath\\ivy-$version.jar"
"script": [
"$antLibPath = \"$(appsdir $global)\\ant\\current\\lib\"",
"Write-Host -fore blue \"Removing ivy-$version.jar from $antLibPath\"",
"Remove-Item -force $antLibPath\\ivy-$version.jar"
]
}
}
6 changes: 4 additions & 2 deletions chrlauncher.json
Expand Up @@ -18,8 +18,10 @@
"plugins",
"chrlauncher.ini"
],
"notes": "Run '$dir\\SetDefaultBrowser.bat' as Administrator to register chrlauncher as the Default Browser.
Change 'ChromiumType' in 'chrlauncher.ini' if you want to install another Chromium Build.",
"notes": [
"Run '$dir\\SetDefaultBrowser.bat' as Administrator to register chrlauncher as the Default Browser.",
"Change 'ChromiumType' in 'chrlauncher.ini' if you want to install another Chromium Build."
],
"architecture": {
"64bit": {
"url": "https://github.com/henrypp/chrlauncher/releases/download/v.2.4.3/chrlauncher-2.4.3-bin.zip#/dl.7z",
Expand Down
12 changes: 6 additions & 6 deletions elasticsearch.json
Expand Up @@ -30,12 +30,12 @@
"config",
"plugins"
],
"post_install": "
# we have to overwrite SCRIPT because elasticsearch-env.bat doesn't care if SCRIPT or ES_HOME are already set ...
(gc \"$original_dir\\bin\\elasticsearch-env.bat\") | % { $_ -replace 'set SCRIPT=%0', \"set SCRIPT=$original_dir\\bin\\elasticsearch.bat\" } | sc \"$original_dir\\bin\\elasticsearch-env.bat\"
# use persistent data/logs directory
(gc \"$dir\\config\\elasticsearch.yml\") | % { $_ -replace '#path.data: /path/to/data', \"path.data: $persist_dir\\data\" } | % { $_ -replace '#path.logs: /path/to/logs', \"path.logs: $persist_dir\\logs\" } | sc \"$dir\\config\\elasticsearch.yml\"
",
"post_install": [
"# we have to overwrite SCRIPT because elasticsearch-env.bat doesn't care if SCRIPT or ES_HOME are already set ...",
"(gc \"$original_dir\\bin\\elasticsearch-env.bat\") | % { $_ -replace 'set SCRIPT=%0', \"set SCRIPT=$original_dir\\bin\\elasticsearch.bat\" } | sc \"$original_dir\\bin\\elasticsearch-env.bat\"",
"# use persistent data/logs directory",
"(gc \"$dir\\config\\elasticsearch.yml\") | % { $_ -replace '#path.data: /path/to/data', \"path.data: $persist_dir\\data\" } | % { $_ -replace '#path.logs: /path/to/logs', \"path.logs: $persist_dir\\logs\" } | sc \"$dir\\config\\elasticsearch.yml\""
],
"suggest": {
"JDK": [
"java/oraclejdk",
Expand Down
18 changes: 10 additions & 8 deletions gitea.json
Expand Up @@ -12,14 +12,16 @@
"hash": "d8bf0b580925ea881b0ba22aaf7a79d8031baf4114bbc00fa8a98593cd21226e"
}
},
"post_install": "echo 'Creating $persist_dir\\custom\\conf.app.ini'
if(!(test-path \"$persist_dir\\custom\\conf\")) { mkdir \"$persist_dir\\custom\\conf\" > $null }
if(!(test-path \"$persist_dir\\custom\\conf\\app.ini\")) {
$gitea = \"[database]`nPATH = $persist_dir/data/gitea.db\"
$gitea += \"`n[repository]`nROOT = $persist_dir/repositories\"
$gitea += \"`n[log]`nROOT_PATH = $persist_dir/log\"
echo $gitea | % {$_.replace(\"\\\",\"/\") } | out-file -encoding oem \"$persist_dir\\custom\\conf\\app.ini\"
}",
"post_install": [
"echo 'Creating $persist_dir\\custom\\conf.app.ini'",
"if(!(test-path \"$persist_dir\\custom\\conf\")) { mkdir \"$persist_dir\\custom\\conf\" > $null }",
"if(!(test-path \"$persist_dir\\custom\\conf\\app.ini\")) {",
" $gitea = \"[database]`nPATH = $persist_dir/data/gitea.db\"",
" $gitea += \"`n[repository]`nROOT = $persist_dir/repositories\"",
" $gitea += \"`n[log]`nROOT_PATH = $persist_dir/log\"",
" echo $gitea | % {$_.replace(\"\\\",\"/\") } | out-file -encoding oem \"$persist_dir\\custom\\conf\\app.ini\"",
"}"
],
"bin": "gitea.exe",
"notes": "Run 'gitea web -c \"$persist_dir\\custom\\conf\\app.ini\"' to start the webserver",
"checkver": {
Expand Down
14 changes: 7 additions & 7 deletions gvim.json
Expand Up @@ -20,13 +20,13 @@
"gVim"
]
],
"post_install": "
if(!(test-path ~\\.vimrc)) {
cp \"$dir\\vimrc_example.vim\" ~\\.vimrc
\"set shell=$((gcm powershell).path)\" | out-file ~\\.vimrc -append -encoding ascii
echo '~/.vimrc was created with your shell set to Powershell.'
} else { echo '~/.vimrc exists, skipping' }
",
"post_install": [
"if(!(test-path ~\\.vimrc)) {",
" cp \"$dir\\vimrc_example.vim\" ~\\.vimrc",
" \"set shell=$((gcm powershell).path)\" | out-file ~\\.vimrc -append -encoding ascii",
" echo '~/.vimrc was created with your shell set to Powershell.'",
"} else { echo '~/.vimrc exists, skipping' }"
],
"checkver": {
"url": "http://www.vim.org/download.php",
"re": "Vim ([0-9\\.]+) is the latest stable version"
Expand Down
6 changes: 4 additions & 2 deletions ipscan.json
Expand Up @@ -12,8 +12,10 @@
"hash": "bb1ce1e7d92f6ac0da1bd1b8cee56d6139b9dc41f5821e58e7d07063805e7b3f"
}
},
"notes": "If you have 64bit Windows but 32bit Java, you MUST reinstall 'ipscan' with the following option:
--arch 32bit",
"notes": [
"If you have 64bit Windows but 32bit Java, you MUST reinstall 'ipscan' with the following option:",
"--arch 32bit"
],
"bin": [
"ipscan.exe"
],
Expand Down
8 changes: 4 additions & 4 deletions irfanview.json
Expand Up @@ -36,10 +36,10 @@
]
}
},
"pre_install": "
if(!(Test-Path(\"$dir\\i_view64.ini\"))) { New-Item \"$dir\\i_view64.ini\" | Out-Null }
if(!(Test-Path(\"$dir\\i_view32.ini\"))) { New-Item \"$dir\\i_view32.ini\" | Out-Null }
",
"pre_install": [
"if(!(Test-Path(\"$dir\\i_view64.ini\"))) { New-Item \"$dir\\i_view64.ini\" | Out-Null }",
"if(!(Test-Path(\"$dir\\i_view32.ini\"))) { New-Item \"$dir\\i_view32.ini\" | Out-Null }"
],
"persist": [
"i_view64.ini",
"i_view32.ini"
Expand Down
6 changes: 3 additions & 3 deletions jkrypto.json
Expand Up @@ -4,7 +4,7 @@
"homepage": "http://lpb.canb.auug.org.au/adfa/src/jkrypto/index.html",
"hash": "1bdc94ccf4268b5124631056d842a654663aeb7350f13832df9f0ecfed214a5d",
"bin": "jkrypto.ps1",
"pre_install": "
\"java -Xmx512M -jar \\\"$dir\\jkrypto.jar\\\"\" | out-file -encoding oem \"$dir\\jkrypto.ps1\"
"
"pre_install": [
"\"java -Xmx512M -jar \\\"$dir\\jkrypto.jar\\\"\" | out-file -encoding oem \"$dir\\jkrypto.ps1\""
]
}
11 changes: 6 additions & 5 deletions kitty.json
Expand Up @@ -16,11 +16,12 @@
"KiTTY"
]
],
"pre_install": "
if(!(test-path \"$dir\\kitty.ini\")) {
$kitty = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(\"W0NvbmZpZ0JveF0NCmhlaWdodD0yMQ0KZmlsdGVyPXllcw0KI2RlZmF1bHQ9eWVzDQojZGVmYXVsdHNldHRpbmdzPXllcw0KI25vZXhpdD1ubw0KI3dpbmRvd2hlaWdodD02MDANCltLaVRUWV0NCmJhY2tncm91bmRpbWFnZT1ubw0KY2Fwc2xvY2s9bm8NCmNvbmY9eWVzDQpjeWd0ZXJtPXllcw0KaWNvbj1ubw0KI2ljb25maWxlPWtpdHR5LmV4ZQ0KI251bWJlcm9maWNvbnM9NDUNCnBhc3RlPW5vDQpwcmludD15ZXMNCnNjcmlwdGZpbGVmaWx0ZXI9QWxsIGZpbGVzICgqLiopfCouKg0Kc2l6ZT1ubw0Kc2hvcnRjdXRzPXllcw0KbW91c2VzaG9ydGN1dHM9eWVzDQpoeXBlcmxpbms9bm8NCnRyYW5zcGFyZW5jeT1ubw0KI2NvbmZpZ2Rpcj0NCiNkb3dubG9hZGRpcj0NCiN1cGxvYWRkaXI9DQojcmVtb3RlZGlyPQ0KI1BTQ1BQYXRoPQ0KI1BTQ1BPcHRpb25zPS1zY3AgLXINCiNQbGlua1BhdGg9DQojV2luU0NQUGF0aD0NCiNDdEhlbHBlclBhdGg9DQojYW50aWlkbGU9PSBcazA4XA0KI2FudGlpZGxlZGVsYXk9NjANCiNzc2h2ZXJzaW9uPU9wZW5TU0hfNS41DQojV2luU0NQUHJvdG9jb2w9c2Z0cA0KI2F1dG9zdG9yZXNzaGtleT1ubw0KI1VzZXJQYXNzU1NITm9TYXZlPW5vDQojY3RybHRhYj15ZXMNCiNLaUNsYXNzTmFtZT1QdVRUWQ0KbWF4Ymxpbmtpbmd0aW1lPTUNCiNhdXRvcmVjb25uZWN0PXllcw0KI1JlY29ubmVjdERlbGF5PTUNCiNzY3JpcHRtb2RlPXllcw0KI2FkYj15ZXMNCnNhdmVtb2RlPWRpcg0KI2JjZGVsYXk9MA0KI2NvbW1hbmRkZWxheT0wLjA1DQojaW5pdGRlbGF5PTIuMA0KI2ludGVybmFsZGVsYXk9MTANCnNsaWRlZGVsYXk9MA0Kd2ludGl0bGU9eWVzDQp6bW9kZW09eWVzDQpbUHJpbnRdDQpoZWlnaHQ9MTAwDQptYXhsaW5lPTYwDQptYXhjaGFyPTg1DQpbRm9sZGVyXQ0KW0xhdW5jaGVyXQ0KcmVsb2FkPXllcw0KW1Nob3J0Y3V0c10NCnByaW50PXtTSElGVH17Rjd9DQpwcmludGFsbD17Rjd9\"))
echo $kitty | out-file -encoding oem \"$dir\\kitty.ini\"
}",
"pre_install": [
"if(!(test-path \"$dir\\kitty.ini\")) {",
" $kitty = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(\"W0NvbmZpZ0JveF0NCmhlaWdodD0yMQ0KZmlsdGVyPXllcw0KI2RlZmF1bHQ9eWVzDQojZGVmYXVsdHNldHRpbmdzPXllcw0KI25vZXhpdD1ubw0KI3dpbmRvd2hlaWdodD02MDANCltLaVRUWV0NCmJhY2tncm91bmRpbWFnZT1ubw0KY2Fwc2xvY2s9bm8NCmNvbmY9eWVzDQpjeWd0ZXJtPXllcw0KaWNvbj1ubw0KI2ljb25maWxlPWtpdHR5LmV4ZQ0KI251bWJlcm9maWNvbnM9NDUNCnBhc3RlPW5vDQpwcmludD15ZXMNCnNjcmlwdGZpbGVmaWx0ZXI9QWxsIGZpbGVzICgqLiopfCouKg0Kc2l6ZT1ubw0Kc2hvcnRjdXRzPXllcw0KbW91c2VzaG9ydGN1dHM9eWVzDQpoeXBlcmxpbms9bm8NCnRyYW5zcGFyZW5jeT1ubw0KI2NvbmZpZ2Rpcj0NCiNkb3dubG9hZGRpcj0NCiN1cGxvYWRkaXI9DQojcmVtb3RlZGlyPQ0KI1BTQ1BQYXRoPQ0KI1BTQ1BPcHRpb25zPS1zY3AgLXINCiNQbGlua1BhdGg9DQojV2luU0NQUGF0aD0NCiNDdEhlbHBlclBhdGg9DQojYW50aWlkbGU9PSBcazA4XA0KI2FudGlpZGxlZGVsYXk9NjANCiNzc2h2ZXJzaW9uPU9wZW5TU0hfNS41DQojV2luU0NQUHJvdG9jb2w9c2Z0cA0KI2F1dG9zdG9yZXNzaGtleT1ubw0KI1VzZXJQYXNzU1NITm9TYXZlPW5vDQojY3RybHRhYj15ZXMNCiNLaUNsYXNzTmFtZT1QdVRUWQ0KbWF4Ymxpbmtpbmd0aW1lPTUNCiNhdXRvcmVjb25uZWN0PXllcw0KI1JlY29ubmVjdERlbGF5PTUNCiNzY3JpcHRtb2RlPXllcw0KI2FkYj15ZXMNCnNhdmVtb2RlPWRpcg0KI2JjZGVsYXk9MA0KI2NvbW1hbmRkZWxheT0wLjA1DQojaW5pdGRlbGF5PTIuMA0KI2ludGVybmFsZGVsYXk9MTANCnNsaWRlZGVsYXk9MA0Kd2ludGl0bGU9eWVzDQp6bW9kZW09eWVzDQpbUHJpbnRdDQpoZWlnaHQ9MTAwDQptYXhsaW5lPTYwDQptYXhjaGFyPTg1DQpbRm9sZGVyXQ0KW0xhdW5jaGVyXQ0KcmVsb2FkPXllcw0KW1Nob3J0Y3V0c10NCnByaW50PXtTSElGVH17Rjd9DQpwcmludGFsbD17Rjd9\"))",
" echo $kitty | out-file -encoding oem \"$dir\\kitty.ini\"",
"}"
],
"persist": [
"Sessions",
"kitty.ini"
Expand Down
50 changes: 25 additions & 25 deletions libsndfile.json
Expand Up @@ -38,32 +38,32 @@
}
},
"installer": {
"script": "
$pcdir = \"$(current_dir $dir)\\lib\\pkgconfig\"

# future sessions
$null, $currpath = strip_path (env 'PKG_CONFIG_PATH' $global) $pcdir
env 'PKG_CONFIG_PATH' $global \"$pcdir;$currpath\"

# this session
$null, $env:PKG_CONFIG_PATH = strip_path $env:PKG_CONFIG_PATH $pcdir
$env:PKG_CONFIG_PATH = \"$pcdir;$env:PKG_CONFIG_PATH\"
"
"script": [
"$pcdir = \"$(current_dir $dir)\\lib\\pkgconfig\"",
"",
"# future sessions",
"$null, $currpath = strip_path (env 'PKG_CONFIG_PATH' $global) $pcdir",
"env 'PKG_CONFIG_PATH' $global \"$pcdir;$currpath\"",
"",
"# this session",
"$null, $env:PKG_CONFIG_PATH = strip_path $env:PKG_CONFIG_PATH $pcdir",
"$env:PKG_CONFIG_PATH = \"$pcdir;$env:PKG_CONFIG_PATH\""
]
},
"uninstaller": {
"script": "
$pcdir = \"$(current_dir $dir)\\lib\\pkgconfig\"

# future sessions
$was_in_path, $newpath = strip_path (env 'PKG_CONFIG_PATH' $global) $pcdir
if($was_in_path) {
write-host \"Removing $(friendly_path $pcdir) from your path.\"
env 'PKG_CONFIG_PATH' $global $newpath
}

# current session
$was_in_path, $newpath = strip_path $env:PKG_CONFIG_PATH $pcdir
if($was_in_path) { $env:PKG_CONFIG_PATH = $newpath }
"
"script": [
"$pcdir = \"$(current_dir $dir)\\lib\\pkgconfig\"",
"",
"# future sessions",
"$was_in_path, $newpath = strip_path (env 'PKG_CONFIG_PATH' $global) $pcdir",
"if($was_in_path) {",
" write-host \"Removing $(friendly_path $pcdir) from your path.\"",
" env 'PKG_CONFIG_PATH' $global $newpath",
"}",
"",
"# current session",
"$was_in_path, $newpath = strip_path $env:PKG_CONFIG_PATH $pcdir",
"if($was_in_path) { $env:PKG_CONFIG_PATH = $newpath }"
]
}
}
6 changes: 3 additions & 3 deletions miniconda3.json
Expand Up @@ -58,8 +58,8 @@
],
"env_add_path": "scripts",
"notes": [
"Currently conda envs activate and deactivate doesn't work on PowerShell,
for more information, see: https://github.com/conda/conda/issues/626,
or just execute: 'conda install -n root -c pscondaenvs pscondaenvs'"
"Currently conda envs activate and deactivate doesn't work on PowerShell,",
"for more information, see: https://github.com/conda/conda/issues/626,",
"or just execute: 'conda install -n root -c pscondaenvs pscondaenvs'"
]
}
14 changes: 8 additions & 6 deletions nteract.json
Expand Up @@ -6,11 +6,11 @@
"hash": "e168c03b9a590f06dd263b5a46db965eb4c6ba7be99a8fb2ccda378bb0b353df",
"bin": "nteract.exe",
"depends": "python",
"post_install": "
Write-Host 'Installing Python3 kernel...' -Foreground Magenta
python3 -m pip install ipykernel
python3 -m ipykernel install --user
",
"post_install": [
"Write-Host 'Installing Python3 kernel...' -Foreground Magenta",
"python3 -m pip install ipykernel",
"python3 -m ipykernel install --user"
],
"checkver": {
"github": "https://github.com/nteract/nteract"
},
Expand All @@ -23,5 +23,7 @@
"nteract"
]
],
"notes": "Instructions for downloading more kernels can be found at: https://nteract.io/kernels"
"notes": [
"Instructions for downloading more kernels can be found at: https://nteract.io/kernels"
]
}
6 changes: 4 additions & 2 deletions openresty.json
Expand Up @@ -10,8 +10,10 @@
"openresty"
]
],
"notes": "Use '-p $PWD' to specify current directory when running OpenResty.
(Alternately, see documentation by running 'scoop home openresty'.)",
"notes": [
"Use '-p $PWD' to specify current directory when running OpenResty.",
"(Alternately, see documentation by running 'scoop home openresty'.)"
],
"license": "BSD-2-Clause",
"checkver": {
"url": "https://openresty.org/en/download.html",
Expand Down
12 changes: 7 additions & 5 deletions orca.json
Expand Up @@ -2,12 +2,14 @@
"homepage": "https://msdn.microsoft.com/en-us/library/windows/desktop/aa370557(v=vs.85).aspx",
"version": "3.1.4000.1830",
"license": "MICROSOFT SOFTWARE LICENSE TERMS",
"notes": "Orca is now part of the Windows SDK. https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk",
"notes": [
"Orca is now part of the Windows SDK. https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk"
],
"url": "https://r15ch13.keybase.pub/scoop/orca/Orca.Msi",
"hash": "119FC6D2D9A872477A4B12DD43C637E8DD9F7705A26CD9A79A9F0C90C2AA9F45",
"post_install": "
# Copy binaries to db location
copy \"$dir\\Orca\\*.*\" \"$dir\\Orca\\WinNT\"
",
"post_install": [
"# Copy binaries to db location",
"copy \"$dir\\Orca\\*.*\" \"$dir\\Orca\\WinNT\""
],
"bin": "Orca\\WinNT\\Orca.exe"
}
19 changes: 11 additions & 8 deletions php-nts-xdebug.json
Expand Up @@ -12,14 +12,17 @@
"hash": "83f170b46970c975dd414a9afaad6f51cf66709cc3e05fa3ad8c856fed2a2859"
}
},
"post_install": "
$phpconfd = \"$persist_dir\\..\\php-nts\\cli\\conf.d\"
if((test-path $phpconfd)) {
echo \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"
echo \"zend_extension=\\\"$dir\\php_xdebug.dll\\\"\" | sc \"$phpconfd\\xdebug.ini\"
} else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_xdebug.dll manually!\" }",
"notes": "Xdebug is already enabled if PHP was installed through scoop!
Otherwise add '$dir\\php_xdebug.dll' to your php.ini",
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php-nts\\cli\\conf.d\"",
"if((test-path $phpconfd)) {",
" echo \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" echo \"zend_extension=\\\"$dir\\php_xdebug.dll\\\"\" | sc \"$phpconfd\\xdebug.ini\"",
"} else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_xdebug.dll manually!\" }"
],
"notes": [
"Xdebug is already enabled if PHP was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download.php",
"re": "php_xdebug-([\\d.]+-7.2)-vc15-nts-x86_64.dll"
Expand Down
19 changes: 11 additions & 8 deletions php-xdebug.json
Expand Up @@ -12,14 +12,17 @@
"hash": "86dbc07066644a2afb6d632c57903bfedd24d023f9a9515a6b59aeb972474694"
}
},
"post_install": "
$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"
if((test-path $phpconfd)) {
echo \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"
echo \"zend_extension=\\\"$dir\\php_xdebug.dll\\\"\" | sc \"$phpconfd\\xdebug.ini\"
} else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_xdebug.dll manually!\" }",
"notes": "Xdebug is already enabled if PHP was installed through scoop!
Otherwise add '$dir\\php_xdebug.dll' to your php.ini",
"post_install": [
"$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"",
"if((test-path $phpconfd)) {",
" echo \"Enabling extension $(Convert-Path $phpconfd)\\xdebug.ini\"",
" echo \"zend_extension=\\\"$dir\\php_xdebug.dll\\\"\" | sc \"$phpconfd\\xdebug.ini\"",
"} else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_xdebug.dll manually!\" }"
],
"notes": [
"Xdebug is already enabled if PHP was installed through scoop!",
"Otherwise add '$dir\\php_xdebug.dll' to your php.ini"
],
"checkver": {
"url": "https://xdebug.org/download.php",
"re": "php_xdebug-([\\d.]+-7.2)-vc15-x86_64.dll"
Expand Down
18 changes: 9 additions & 9 deletions reaper.json
Expand Up @@ -16,15 +16,15 @@
]
],
"installer": {
"script": "
# Copy out installation files
Move-Item \"$dir\\`$INSTDIR`$_8_\\*\" -Destination \"$dir\"

# Remove unused folders
Remove-Item \"$dir\\`$INSTDIR`$_8_\" -Recurse
Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse
Remove-Item \"$dir\\`$COMMONFILES64\" -Recurse
"
"script": [
"# Copy out installation files",
"Move-Item \"$dir\\`$INSTDIR`$_8_\\*\" -Destination \"$dir\"",
"",
"# Remove unused folders",
"Remove-Item \"$dir\\`$INSTDIR`$_8_\" -Recurse",
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse",
"Remove-Item \"$dir\\`$COMMONFILES64\" -Recurse"
]
},
"architecture": {
"64bit": {
Expand Down

0 comments on commit 5f042f0

Please sign in to comment.