Closed AbdulkadirA closed 2 years ago
The installation package can be built as follows (tested on Windows 11)
git clone https://github.com/CBICA/NiBAx.git
cd NiBAx
git fetch origin refs/pull/166/head
git checkout -b briefcase FETCH_HEAD
python -m venv .env
source .env/bin/activate
python -m pip install -U pip briefcase
python -m pip install -U MarkupSafe==2.0.1
briefcase create
briefcase build
briefcase run # will open the application, close to continue
briefcase package
The installer will appear in the windows
subfolder. For macOS
and Linux, the installers will appear in the linux
and macOS
subfolders, respectively.
Hi @AbdulkadirA
Everything here has worked well for me, but I did get this one pop up message:
Is this expected?
@melhemr Thanks. At what step did this happen? This indicates that you are lacking certain developer tools necessary to build the package. It is not unexpected. Note, the last command should read briefcase package --no-sign
for macOS.
@AbdulkadirA this happened at briefcase package, and it happened again after briefcase package --no-sign
. Should I just install the package?
@AbdulkadirA this happened at briefcase package, and it happened again after
briefcase package --no-sign
. Should I just install the package?
Yes. As far as I know this should be safe. To be extra safe, you could install the XCode command line tools separately.
@AbdulkadirA I have installed the command line tools, and proceeded with briefcase package --no-sign
Right now, this has come up:
And the icon for the NiBAx app is a bumblebee. Is this correct?
And the icon for the NiBAx app is a bumblebee. Is this correct?
@melhemr Yes, this is expected. Can you install (move to Applications folder) and run NiBAx by double-clicking it?
@AbdulkadirA Yes, that works, and I'm also able to use mac search to find it and open it as well. Should I merge?
@melhemr I updated the description and marked the PR as ready for review. Thanks.
This PR enables packaging installers for Linux, Windows, and macOS.