A rewrite of https://gist.github.com/Darkhogg/82a651f40f835196df3b1bd1362f5b8c#file-windows-refind-next-boot-cpp to avoid a compilation step.
- Download all files in the same directory
- Run in an Administrator PowerShell:
. path/to/RefindNextBoot.ps1
Set-RefindNextBoot Linux