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

Commit fb17480

Browse files
Auto-merge pull request #5106 from livecodepanos/bugfix-19121
[Bug 19121] Pass correct folder to standaloneSaved msg If the user chooses to save a standalone named "MyApp" in Desktop folder, then a folder is passed to `standaloneSaved` message. In LC 8.1.3 RC-1 this folder was `path/to/Desktop/MyApp/MacOSX` (not correct), and in pre-LC 8.1.3 RC-1 this was `path/to/Desktop/` (not very useful). In this patch the folder will now be `path/to/Desktop/MyApp/`. This ensures that when having multiple copies of the same standalone, in folders named "MyApp", "MyApp1", "MyApp2" etc, the path to the most recent one will be passed to `standaloneSaved` message, e.g. `path/to/Desktop/MyApp5/`
2 parents 1b380a6 + cbd8874 commit fb17480

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/notes/bugfix-19121.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Pass correct folder to standaloneSaved message

ide-support/revsaveasstandalone.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ command revDoSaveAsStandalone pStack, pFolder
393393
-- post build message
394394
if tHasDesktop then
395395
__ReloadOriginalStackFile tStackFileName, pStack
396-
__SendStandaloneSavedMessage pStack, tTargetFolder
396+
__SendStandaloneSavedMessage pStack, tOutputFolder
397397
end if
398398

399399
catch tError

0 commit comments

Comments
 (0)