When adding a new custom app, you'll provide a URL for your custom package.
The custom package (.pkg) file should be hosted on a cloud service such as Amazon Web Services, Dropbox, or Google Drive where it can be accessed via a URL.
Please keep the following in mind when entering the URL to your hosted package:
- Once the custom app is created, this URL cannot be changed.
- URLs to custom packages normally end in .pkg
- The URL must be publicly accessible
- Confirm the URL is correct before creating the custom app. Fleetsmith does not validate URLs, so an incorrect link could cause issues once the custom app is deployed
How to get the direct link to your custom package
Please note: Hosting services mentioned below and throughout this article are provided as examples, and should not be considered official recommendations.
In Dropbox: Hover over your file and click the "Share" button, then copy the link from the popup. On your computer, you can find the file, right-click and choose "Copy Dropbox Link." ⭐️Please ensure that your link ends in ?dl=1 instead of ?dl=0.⭐️
In Google Drive: Find your file, right-click and choose "Get Shareable Link."
Finding the SHA-256 hash
The next step after entering the URL of your custom package is to enter the SHA-256 hash, which Fleetsmith uses to validate the authenticity of downloaded packages, ensuring they are complete and can be trusted.
Depending on your macOS version, one of the three commands below should work to obtain the SHA256 binary hash for a package:
shasum -a 256 <file>
openssl sha -sha256 <file>
openssl sha256 <file>
As an example, a SHA256 hash might look something like this: