Z User
v0.7.0: freeze/unfreeze, gate prefilter, explain(), display-ordering warnings, numeric token keys; README now carries the full docs
5240484 Download package/install.ps1 from EHS-Studio/dssl: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/EHS-Studio/dssl/resolve/main/package/install.ps1
- Command line
-
hf download hf://EHS-Studio/dssl/package/install.ps1
-
curl -L -o install.ps1 https://huggingface.co/EHS-Studio/dssl/resolve/main/package/install.ps1
1.21 kB
| # DSSL installer for Windows. PowerShell 5.1 or newer, no admin rights needed. | |
| # | |
| # irm https://dssl-sable.vercel.app/install.ps1 | iex | |
| # | |
| # Drops a dssl-engine folder into your current directory. | |
| $ErrorActionPreference = "Stop" | |
| $Base = "https://dssl-sable.vercel.app" | |
| $Dest = Join-Path (Get-Location).Path "dssl-engine" | |
| # some Windows PowerShell 5.1 installs still default to ancient TLS; be explicit | |
| try { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 } catch {} | |
| Write-Host "fetching the DSSL engine..." | |
| $Zip = Join-Path ([IO.Path]::GetTempPath()) "dssl-engine.zip" | |
| Invoke-WebRequest -Uri "$Base/dssl-engine.zip" -OutFile $Zip -UseBasicParsing | |
| if (Test-Path $Dest) { Remove-Item -Recurse -Force $Dest } | |
| $Stage = Join-Path ([IO.Path]::GetTempPath()) ("dssl-unpack-" + [Guid]::NewGuid().ToString("N").Substring(0, 8)) | |
| Expand-Archive -Path $Zip -DestinationPath $Stage -Force | |
| Move-Item -Path (Join-Path $Stage "dssl-engine") -Destination $Dest -Force | |
| Remove-Item -Recurse -Force $Stage | |
| Remove-Item -Force $Zip | |
| Write-Host "" | |
| Write-Host "DSSL engine installed to $Dest" | |
| Write-Host "" | |
| Write-Host "next: open USAGE.md in that folder. It is two tags and one example file." | |