livebook/rel/app/windows/build_installer.sh
2023-10-14 15:04:03 +02:00

13 lines
343 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
dotnet publish
vc_redist_path="bin/vc_redist.x64.exe"
if [ ! -f $vc_redist_path ]; then
url="https://aka.ms/vs/17/release/vc_redist.x64.exe"
echo "downloading $url"
curl -L --fail --output $vc_redist_path $url
fi
makensis //DERTS_VERSION=`elixir -e "IO.puts :erlang.system_info(:version)"` Installer.nsi