2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
|
|
|
Write-Output "███████╗██╗ ██╗ ██╗███████╗██████╗ ██████╗ ████████╗"
|
|
|
|
Write-Output "██╔════╝██║ ██║ ██║██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝"
|
|
|
|
Write-Output "█████╗ ██║ ██║ ██║█████╗ ██████╔╝██║ ██║ ██║ "
|
|
|
|
Write-Output "██╔══╝ ██║ ██║ ██║██╔══╝ ██╔══██╗██║ ██║ ██║ "
|
|
|
|
Write-Output "███████╗███████╗███████╗██║███████╗██████╔╝╚██████╔╝ ██║ "
|
|
|
|
Write-Output "╚══════╝╚══════╝╚══════╝╚═╝╚══════╝╚═════╝ ╚═════╝ ╚═╝ "
|
|
|
|
Write-Output ""
|
|
|
|
Write-Output "Copyright © 2024 Toastie_t0ast & EllieBotDevs"
|
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
|
|
|
Write-Output "Publishing EllieBot"
|
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r linux-x64 --self-contained -o elliebot-linux-x64 src/EllieBot/EllieBot.csproj
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r linux-arm64 --self-contained -o elliebot-linux-arm64 src/EllieBot/EllieBot.csproj
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r win-x64 --self-contained -o elliebot-windows-x64 src/EllieBot/EllieBot.csproj
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r win-arm64 --self-contained -o elliebot-windows-arm64 src/EllieBot/EllieBot.csproj
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r osx-x64 --self-contained -o elliebot-osx-x64 src/EllieBot/EllieBot.csproj
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
dotnet publish -c Release -r osx-arm64 --self-contained -o elliebot-osx-arm64 src/EllieBot/EllieBot.csproj
|
|
|
|
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
|
|
|
Write-Output "Preparing the Windows installer build."
|
|
|
|
Write-Output ""
|
2024-07-15 03:46:29 +00:00
|
|
|
|
|
|
|
dotnet clean
|
|
|
|
dotnet restore -f --no-cache -v n
|
2024-07-15 04:08:18 +00:00
|
|
|
dotnet publish -c Release --self-contained --runtime win-x64 /p:Version=5.1.4 src/EllieBot
|
2024-07-15 03:46:29 +00:00
|
|
|
|
2024-07-15 04:08:18 +00:00
|
|
|
Write-Output ""
|
|
|
|
Write-Output ""
|
|
|
|
Write-Output "Finished the initial build script"
|
|
|
|
Write-Output ""
|
|
|
|
Write-Output "To build the Windows installer please install Inno Setup from"
|
|
|
|
Write-Output "https://jrsoftware.org/isdl.php"
|
|
|
|
Write-Output "And compile the exe_builder.iss"
|
|
|
|
Write-Output ""
|
|
|
|
Write-Output "If you are running on Windows please run the wsl command"
|
|
|
|
Write-Output "then run build.sh"
|