@Greg OLone You can see the available build script commands here:
http://developer.xojo.com/userguide/ide-scripting-commands
You’ll need to manually build a path as a string and then provide it to DoShellCommand as part of a command. For instance, on macOS you would use:
dim builtApp as String = CurrentBuildLocation + “/“ + CurrentBuildAppName + “.app”
To get the full path to the bundle.
If you are moving the app within the same drive, you can probably use the “mv “ command to move it.
dim cmd as string = “mv “ + builtApp + “ your/new/path”
ok, seems good but... why my script do nothing? I've put under the macos build... the second question is: how can I debug it?
dim builtApp as String
dim cmd as string
dim s As String
builtApp = CurrentBuildLocation + "/" + CurrentBuildAppName + ".app"
cmd = "mv " + builtApp + " /Users/sergio/Documents/Work/Work\ Inprogress/Gest-L/Builds\ -\ Gest\ 2010.xojo_binary_project/Compiled"
s = doshellcommand(cmd)
I tried with this too
cmd = "mv """ + builtApp + """ /Users/sergio/Documents/Work/Work\ Inprogress/Gest-L/Builds\ -\ Gest\ 2010.xojo_binary_project/Compiled"