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

[[ Bug 20282 ]] Ensure 'the engine folder' returns a LiveCode path #5881

Merged
merged 1 commit into from Aug 31, 2017

Conversation

runrevmark
Copy link
Contributor

This patch fixes an issue where 'the engine folder' would return a
native looking path on Windows. The use of MCcmd has been replaced
with a direct query of the executable module's filename.

Note: This fix is pertinent to 8 - a slightly different patch is needed for 9.

This patch fixes an issue where 'the engine folder' would return a
native looking path on Windows. The use of MCcmd has been replaced
with a direct query of the executable module's filename.
@livecodeali
Copy link
Member

@livecode-vulcan review ok 204d4f0

@livecode-vulcan
Copy link
Contributor

💙 review by @livecodeali ok 204d4f0

livecode-vulcan added a commit that referenced this pull request Aug 31, 2017
[[ Bug 20282 ]] Ensure 'the engine folder' returns a LiveCode path

This patch fixes an issue where 'the engine folder' would return a
native looking path on Windows. The use of MCcmd has been replaced
with a direct query of the executable module's filename.

Note: This fix is pertinent to 8 - a slightly different patch is needed for 9.
@livecode-vulcan
Copy link
Contributor

😞 test failure 204d4f0

  • try-community-armv6-android-api8: success
  • try-community-armv6-android-api9: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos10.3: success
  • try-community-universal-ios-iphonesimulator10.3: success
  • try-community-universal-mac-macosx10.6: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian7: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian7: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: failure
  • try-community-x86_64-win32: pending

@montegoulding
Copy link
Member

@livecode-vulcan retry 204d4f0

livecode-vulcan added a commit that referenced this pull request Aug 31, 2017
[[ Bug 20282 ]] Ensure 'the engine folder' returns a LiveCode path

This patch fixes an issue where 'the engine folder' would return a
native looking path on Windows. The use of MCcmd has been replaced
with a direct query of the executable module's filename.

Note: This fix is pertinent to 8 - a slightly different patch is needed for 9.
livecode-vulcan added a commit that referenced this pull request Aug 31, 2017
[[ Bug 20282 ]] Ensure 'the engine folder' returns a LiveCode path (develop)

This patch changes the implementation of fetching the engine folder
to be consistent with how 9+ computes MCcmd. In particular, it uses
the filename of the module containing the engine rather than the
global executable module.

Note: This is based on #5881 from develop-8.1 - that should be merged up before merging this PR.
@livecode-vulcan
Copy link
Contributor

😎 test success 204d4f0

  • try-community-armv6-android-api8: success
  • try-community-armv6-android-api9: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos10.3: success
  • try-community-universal-ios-iphonesimulator10.3: success
  • try-community-universal-mac-macosx10.6: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian7: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian7: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@montegoulding montegoulding merged commit 0299db9 into livecode:develop-8.1 Aug 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants