Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8e45e9f

Browse files
committed
[Bug 19978] Create missing folder if necessary
1 parent 0142c9f commit 8e45e9f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Toolset/libraries/revidedeveloperextensionlibrary.livecodescript

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,12 @@ on revIDEDeveloperExtensionEditDefaultScript pFolder
10591059
revIDENewScriptOnlyStack tExpectedName
10601060
if the result is empty then
10611061
put it into tTargetStack
1062+
set the itemDel to slash
1063+
local tSupportFolder
1064+
put item 1 to -2 of tDefaultScript into tSupportFolder
1065+
if there is not a folder tSupportFolder then
1066+
create folder tSupportFolder
1067+
end if
10621068
save stack tExpectedName as tDefaultScript
10631069
else
10641070
answer error the result

0 commit comments

Comments
 (0)