slmjkdbtl / packapp

📦 pack a binary to a MacOS .app bundle
zlib License
13 stars 0 forks source link

zsh: killed #1

Open itemsCenter opened 3 years ago

itemsCenter commented 3 years ago

hey i've been recently trying to pack my cli app with packapp, however it seems like the process is being killed every single time i try to run it. i tried to reinstall packapp but no lock (tried both homebrew and releases executable). do you have any idea what might be wrong? image

slmjkdbtl commented 3 years ago

Hi! Are you on a M1 MacBook? It could be because the current macOS release binaries are all x86_64-apple-darwin, i think cargo install and build on your machine can solve this (and I should probably add a prebuilt aarch64-apple-darwin binary to release / homebrew).

Also I'm not actively maintaining this lib now, macOS bundles are actually very simple now I'm just using a Makefile script with cp mkdir and sed to create the bundle (like this), using a Rust project to do this seems like an overkill to me now hh, but hope this still works.

slmjkdbtl commented 3 years ago

oh but wait you're packing a cli app into a .app bundle? i don't know how that would work, i thought only gui apps need to be in bundles, if you open a cli app inside a .app bundle i think it'll just run the executable in the background not bringing up any output