Flex2 icon indicating copy to clipboard operation
Flex2 copied to clipboard

Could not find 'scripts' directory error in macOS release

Open yuzhenw opened this issue 4 years ago • 4 comments

Error message as follows:

Could not find 'scripts' directory for mapping definition files
Searched in;
	/private/var/folders/z4/nygrnkmx2f577m152mz9zjkh0000gn/T/AppTranslocation/3C937884-4C8C-4995-919B-2511A8349ACA/d/Flex2.app/Contents/Frameworks/Flex2 Helper (Renderer).app/Contents/MacOS/scripts
	/scripts
Screen Shot 2021-08-15 at 4 34 11 PM I'm on macOS 10.15.5 and I'm using Flex 1.1.4

yuzhenw avatar Aug 15 '21 20:08 yuzhenw

I fixed it by creating a scripts directory inside Flex2 Helper (Renderer) and then dragging the scripts folder from the root directory into the new scripts directory.

yuzhenw avatar Aug 16 '21 09:08 yuzhenw

glad you could get this working!

I dont have a mac to test this on but based on the error I should be able to fix it. Do you know which folder the main flex2 executable is in?

kirjavascript avatar Aug 16 '21 11:08 kirjavascript

flex2-osx-x64/Flex2.app/Contents/MacOS/

In the MacOS folder there is a UNIX executable file called Flex2 which is what I assume you're looking for.

flex2-osx-x64/Flex2.app/Contents/Frameworks/Flex2 Helper (Renderer).app/Contents/MacOS/scripts/

that's where I added the scripts folder and its contents

yuzhenw avatar Aug 16 '21 11:08 yuzhenw

thanks! I'll get back to you with something new to test

On Mon, Aug 16, 2021 at 12:23 PM yuzhenw @.***> wrote:

flex2-osx-x64/Flex2.app/Contents/MacOS/

In the MacOS folder there is a UNIX executable file called Flex2 which is what I assume you're looking for.

flex2-osx-x64/Flex2.app/Contents/Frameworks/Flex2 Helper (Renderer).app/Contents/MacOS/scripts/

that's where I added the scripts folder and its contents

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kirjavascript/Flex2/issues/40#issuecomment-899433696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCKGWUFFZEVJACYHOHACHLT5DYMRANCNFSM5CGQZY4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

kirjavascript avatar Aug 16 '21 12:08 kirjavascript