This repository was archived by the owner on Aug 31, 2021. It is now read-only.
[Bug 19121] Pass correct folder to standaloneSaved msg#5106
Merged
livecodepanos merged 2 commits intoJan 24, 2017
Conversation
Contributor
|
@livecode-vulcan review ok cbd8874 |
Contributor
livecode-vulcan
added a commit
that referenced
this pull request
Jan 24, 2017
[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/`
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If the user chooses to save a standalone named "MyApp" in Desktop folder, then a folder is passed to
standaloneSavedmessage.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 waspath/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
standaloneSavedmessage, e.g.path/to/Desktop/MyApp5/