build.bat 900 B

12345678910111213141516171819202122232425
  1. @echo off
  2. :: Default values for Cryptomator builds
  3. SET APPNAME="Cryptomator"
  4. SET MAIN_JAR_GLOB="cryptomator-*"
  5. SET UPGRADE_UUID="bda45523-42b1-4cae-9354-a45475ed4775"
  6. SET VENDOR="Skymatic GmbH"
  7. SET FIRST_COPYRIGHT_YEAR=2016
  8. SET ABOUT_URL="https://cryptomator.org"
  9. SET UPDATE_URL="https://cryptomator.org/downloads/"
  10. SET HELP_URL="https://cryptomator.org/contact/"
  11. SET MODULE_AND_MAIN_CLASS="org.cryptomator.desktop/org.cryptomator.launcher.Cryptomator"
  12. SET LOOPBACK_ALIAS="cryptomator-vault"
  13. powershell -NoLogo -NoProfile -ExecutionPolicy Unrestricted -Command .\build.ps1^
  14. -AppName %APPNAME%^
  15. -MainJarGlob "%MAIN_JAR_GLOB%"^
  16. -ModuleAndMainClass "%MODULE_AND_MAIN_CLASS%"^
  17. -UpgradeUUID "%UPGRADE_UUID%"^
  18. -Vendor ""%VENDOR%""^
  19. -CopyrightStartYear %FIRST_COPYRIGHT_YEAR%^
  20. -AboutUrl "%ABOUT_URL%"^
  21. -HelpUrl "%HELP_URL%"^
  22. -UpdateUrl "%UPDATE_URL%"^
  23. -LoopbackAlias "%LOOPBACK_ALIAS%"^
  24. -Clean 1