From 93c1010534712311e3fa6a1487b6ba8acf807e60 Mon Sep 17 00:00:00 2001 From: Thom McGrath Date: Mon, 17 Dec 2018 10:53:14 -0500 Subject: [PATCH] Making build process download classes using short version string. --- Project/Build Automation.xojo_code | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project/Build Automation.xojo_code b/Project/Build Automation.xojo_code index 150a5402f..21dcea60d 100644 --- a/Project/Build Automation.xojo_code +++ b/Project/Build Automation.xojo_code @@ -27,11 +27,11 @@ End Begin IDEScriptBuildStep DownloadClassesDebug , AppliesTo = 1 Dim App As String = CurrentBuildLocation + "/""" + CurrentBuildAppName + ".app""" - Call DoShellCommand("/usr/bin/curl https://workbench.beaconapp.cc/download/classes.php?version=" + PropertyValue("App.NonReleaseVersion") + " > " + App + "/Contents/Resources/Classes.json") + Call DoShellCommand("/usr/bin/curl https://workbench.beaconapp.cc/download/classes.php?version=" + PropertyValue("App.ShortVersion") + " > " + App + "/Contents/Resources/Classes.json") End Begin IDEScriptBuildStep DownloadClassesBuild , AppliesTo = 2 Dim App As String = CurrentBuildLocation + "/""" + CurrentBuildAppName + ".app""" - Call DoShellCommand("/usr/bin/curl https://beaconapp.cc/download/classes.php?version=" + PropertyValue("App.NonReleaseVersion") + " > " + App + "/Contents/Resources/Classes.json") + Call DoShellCommand("/usr/bin/curl https://beaconapp.cc/download/classes.php?version=" + PropertyValue("App.ShortVersion") + " > " + App + "/Contents/Resources/Classes.json") End Begin IDEScriptBuildStep Sign , AppliesTo = 0 Dim App As String = CurrentBuildLocation + "/""" + CurrentBuildAppName + ".app"""