haxpor / aseprite-macos-buildsh

Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
MIT License
155 stars 41 forks source link

"No such file or directory (127)" dialog error popup if build with specified --target #3

Open haxpor opened 5 years ago

haxpor commented 5 years ago

This is reproduced, and verified. I'm fixing this.

Example if you execute with bash aseprite.sh --target /your/custom/path, it will have a problem and shown error as follows

Screen Shot 2019-03-19 at 9 04 02 PM

haxpor commented 5 years ago

Work around is to go to your result Aseprite.app/Contents/Resources/Scripts/main.scpt. Double click it, it will open Apple Script app to allow you to edit it as shown below.

Screen Shot 2019-03-19 at 9 45 43 PM

Now what we need to do is just to change the path. If your real path to Aseprite.app is at /my/custom/path/Aseprite.app then you need to change it to /my/custom/path/Aseprite/aseprite.

I didn't find a better and cleaner way to fix this at the moment. So use above solution first.

NivMiz0 commented 3 years ago

I know I'm a year and a half late but i didnt see you addressing this and can't find an answer elsewhere, I'm getting a new error even after changing the path to the correct one: this time:

Screen Shot 2020-10-11 at 1 17 20

any way to fix? my main.scpt looks like this:

Screen Shot 2020-10-11 at 1 17 48
haxpor commented 3 years ago

@NivMizzer Hey, seems like you misss actual executable binary at the end /Aseprite/aseprite. See if it helps you.