Files
TachideskJUI/scripts/BuildWindowsExe.ps1
Syer10 871c450783 Add setup and build scripts
Windows setup script will fail until the next release of Tachidesk
2021-03-25 01:25:18 -04:00

14 lines
270 B
PowerShell

if ($(Split-Path -Path (Get-Location) -Leaf) -eq "scripts" ) {
Set-Location ..
}
if (Test-Path "src/main/resources/Tachidesk.jar" -PathType leaf)
{
Write-Output "Tachidesk.jar already exists"
}
else
{
&"./scripts/SetupWindows.ps1"
}
&"./gradlew" packageExe