vshaxe / flash-debugger

Visual Studio Code Debugger for Haxe/Flash applications
MIT License
25 stars 7 forks source link

OSX Compatibility #23

Closed abbic closed 5 years ago

abbic commented 5 years ago

The usage instructions seem to only cover Windows or Linux installations. I tried to follow the Linux instructions as best i could but result with this error.

Error: Command failed: "/Users/abbi/projects/scopa/bin/flash/bin/scopa.swf"
/bin/sh: /Users/abbi/projects/scopa/bin/flash/bin/scopa.swf: Permission denied

Trying all kinds of things like modifying permissions has not helped. the java command is in my path. .swf files are associated with the player, but flashplayer is not globally accessible due to OSX constraints.

Is OSX the issue here?

Geokureli commented 5 years ago

I'm also having this issue. It seems that you cannot run a swf directly in OSX. if you were to open terminal and run

/Users/abbi/projects/scopa/bin/flash/bin/scopa.swf

you would get the same error, where this would work:

open /Users/abbi/projects/scopa/bin/flash/bin/scopa.swf

As you said, this is regardless of the swf's permissions. as far as I know VSHaxe will need to open the swf on OSX

Gama11 commented 5 years ago

Should be fixed in 1.2.3.