haxpor / aseprite-macos-buildsh

Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

haxpor opened this issue · comments

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

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.

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

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