forked from kofal.net/zmk
fix(setup): Fix conf download path in PS script
This commit is contained in:
committed by
Pete Johanson
parent
b8fb218a01
commit
781df31ec4
@@ -217,7 +217,7 @@ if ($keyboard_type -eq "shield") {
|
|||||||
|
|
||||||
Write-Host "Downloading config file (${url_base}/${keyboard}.conf)"
|
Write-Host "Downloading config file (${url_base}/${keyboard}.conf)"
|
||||||
Try {
|
Try {
|
||||||
Invoke-RestMethod -Uri "${config_url}" -OutFile "${keyboard}.conf"
|
Invoke-RestMethod -Uri "${url_base}/${keyboard}.conf" -OutFile "${keyboard}.conf"
|
||||||
} Catch {
|
} Catch {
|
||||||
Try {
|
Try {
|
||||||
Write-Host "Could not find it, falling back to ${url_base}/${basedir}.conf"
|
Write-Host "Could not find it, falling back to ${url_base}/${basedir}.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user