Skip to content

Commit efc9216

Browse files
[[ ScriptifiedStacks ]] Update the mobile standalone scripts to work
1 parent 1835a22 commit efc9216

2 files changed

Lines changed: 23 additions & 11 deletions

File tree

ide-support/revsaveasandroidstandalone.livecodescript

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ private command revSaveAsMobileStandaloneMain pStack, pApkFile, pTarget
151151
-- Compute the stackfiles list
152152
local tStackFiles
153153
lock messages
154-
put revRelativeStackFilesList(pStack) into tStackfiles
154+
// SN-2014-10-16: [[ ScriptifiedStack ]] revRelativeStackFilesList is no longer in the messagePath
155+
put "revRelativeStackFilesList(" & quote & pStack & quote & ")" into tFunction
156+
put value(tFunction, stack "revStandaloneSettings") into tStackFiles
155157
unlock messages
156158

157159
-- Make sure the app-bundle isn't already there
@@ -1018,47 +1020,56 @@ end doShellCommand
10181020
################################################################################
10191021

10201022
private function pathToRootClasses pRoot
1021-
dispatch function "pathToRootClasses" to button "Android" of stack "revDeployLibrary" with pRoot
1023+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1024+
dispatch function "pathToRootClasses" to stack "revDeployLibraryAndroid" with pRoot
10221025
return the result
10231026
end pathToRootClasses
10241027

10251028
private function pathToSDKClasses pRoot
1026-
dispatch function "pathToSDKClasses" to button "Android" of stack "revDeployLibrary" with pRoot
1029+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1030+
dispatch function "pathToSDKClasses" to stack "revDeployLibraryAndroid" with pRoot
10271031
return the result
10281032
end pathToSDKClasses
10291033

10301034
private function pathToAapt pRoot
1031-
dispatch function "pathToAapt" to button "Android" of stack "revDeployLibrary" with pRoot
1035+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1036+
dispatch function "pathToAapt" to stack "revDeployLibraryAndroid" with pRoot
10321037
return the result
10331038
end pathToAapt
10341039

10351040
private function pathToAdb pRoot
1036-
dispatch function "pathToAdb" to button "Android" of stack "revDeployLibrary" with pRoot
1041+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1042+
dispatch function "pathToAdb" to stack "revDeployLibraryAndroid" with pRoot
10371043
return the result
10381044
end pathToAdb
10391045

10401046
private function pathToZipAlign pRoot
1041-
dispatch function "pathToZipAlign" to button "Android" of stack "revDeployLibrary" with pRoot
1047+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1048+
dispatch function "pathToZipAlign" to stack "revDeployLibraryAndroid" with pRoot
10421049
return the result
10431050
end pathToZipAlign
10441051

10451052
private function pathToDex pRoot
1046-
dispatch function "pathToDex" to button "Android" of stack "revDeployLibrary" with pRoot
1053+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1054+
dispatch function "pathToDex" to stack "revDeployLibraryAndroid" with pRoot
10471055
return the result
10481056
end pathToDex
10491057

10501058
private function pathToJavaC pRoot
1051-
dispatch function "pathToJavaC" to button "Android" of stack "revDeployLibrary" with pRoot
1059+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1060+
dispatch function "pathToJavaC" to stack "revDeployLibraryAndroid" with pRoot
10521061
return the result
10531062
end pathToJavaC
10541063

10551064
private function pathToJava pRoot
1056-
dispatch function "pathToJava" to button "Android" of stack "revDeployLibrary" with pRoot
1065+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1066+
dispatch function "pathToJava" to stack "revDeployLibraryAndroid" with pRoot
10571067
return the result
10581068
end pathToJava
10591069

10601070
private function pathToJarSigner pRoot
1061-
dispatch function "pathToJarSigner" to button "Android" of stack "revDeployLibrary" with pRoot
1071+
// SN-2014-10-16: [[ ScriptifiedStack ]] Stack name updated
1072+
dispatch function "pathToJarSigner" to stack "revDeployLibraryAndroid" with pRoot
10621073
return the result
10631074
end pathToJarSigner
10641075

ide-support/revsaveasiosstandalone.livecodescript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ private command revSaveAsMobileStandaloneMain pStack, pAppBundle, pTarget
383383
-- MM-2013-09-23: [[ iOS7 Support ]] This causes warnings whn using XCode 5. Further investigation needed.
384384
--
385385
if tInstSet is not "armv6" and tSDKs[tInstSet]["suffix"] is not "7_1" then
386-
put "-pie" & return after tLinkCommand
386+
// SN-2014-10-16: [[ Merge-6.7.0-rc-3 ]] '-pie' option removed
387+
-- put "-pie" & return after tLinkCommand
387388
end if
388389

389390
-- Add reference to the partially linked standalone engine

0 commit comments

Comments
 (0)