LeonBlade / xnbcli

A CLI tool for XNB packing/unpacking purpose built for Stardew Valley.
GNU General Public License v3.0
257 stars 73 forks source link

Can't run pack.command on Mac #57

Closed ThatVanessa closed 1 week ago

ThatVanessa commented 4 months ago

Whenever I try to run the pack.command file, I get the error "The file "pack.command" could not be executed because you do not have appropriate access privileges." I've tried changing the access privileges and reinstalling the program, but neither one worked.

Screenshot 2024-05-24 at 5 36 17 PM-2
LeonBlade commented 1 week ago

I'm terribly sorry for the delay in responding to this. I'm going to respond anyway for the sake of leaving it here for future reference.

If you have an issue with running the command file, you can try to run chmod +x pack.command and on the unpack file in order to grand privileges. You may need to run it in an elevated state (sudo chmod +x pack.command) and then use your password in order to give the "execution" privilege to the file (that's what the +x means).

Alternatively, if you open the pack and unpack command files in a text editor, you can run whatever commands they have in them manually in the terminal.

Sorry about the late response, and I hope someone can benefit from this.