mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-27 23:36:27 +00:00
chore(choco): remove chocolatey dependency (#5078)
This commit is contained in:
parent
5ef90a615f
commit
f234847318
@ -20,9 +20,6 @@
|
||||
<licenseUrl>https://github.com/starship/starship/blob/master/LICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<releaseNotes></releaseNotes>
|
||||
<dependencies>
|
||||
<dependency id="chocolatey" version="0.9.9" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="tools\**" target="tools" />
|
||||
|
@ -26,10 +26,13 @@ $nuspec_file.Save("./starship.install.nuspec")
|
||||
|
||||
# Have metapackage depend on starship.install
|
||||
$nuspec_file.package.metadata.id = "starship"
|
||||
|
||||
$deps = $nuspec_file.createelement("dependencies")
|
||||
$dep = $nuspec_file.createelement("dependency")
|
||||
$dep.SetAttribute("id", "starship.install")
|
||||
$dep.SetAttribute("version", "[$versionNumber]")
|
||||
$nuspec_file.package.metadata.dependencies.AppendChild($dep)
|
||||
$deps.AppendChild($dep)
|
||||
$nuspec_file.package.metadata.AppendChild($deps)
|
||||
$nuspec_file.Save("./starship.nuspec")
|
||||
|
||||
$url_x86_64_zip = "https://github.com/starship/starship/releases/download/$version/starship-x86_64-pc-windows-msvc.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user