# Nedim desktop installer for Windows 10 / 11 (64-bit). Windows PowerShell 5.1 and later. # # What it does: downloads the newest Windows installer from api.nedim.app to your temp folder # (%TEMP%\nedim-setup.exe) and starts it; the installer itself is interactive. Nothing else on the # machine is changed by this script. # # This is the script the download page links to (https://nedim.app/download/): # irm https://nedim.app/install.ps1 | iex $ErrorActionPreference = 'Stop' [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $url = 'https://api.nedim.app/download/windows' $dest = Join-Path $env:TEMP 'nedim-setup.exe' Write-Host "Downloading Nedim for Windows ..." # Invoke-WebRequest in 5.1 is many times slower with the progress bar on. $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest -Uri $url -OutFile $dest -UseBasicParsing Write-Host "Saved to $dest" Write-Host "Starting the installer. If SmartScreen warns, choose 'More info', then 'Run anyway' (the build is not code-signed yet)." Start-Process -FilePath $dest -Wait Write-Host "done. Open the invitation link from your e-mail, or paste it into the app."