Skip to content

Macos app bundle has generic name #224

@andrewdavidmackenzie

Description

@andrewdavidmackenzie

I use cargo bundle to create bundles in GH Releases for my app and it works great.

I use this meta-data:

# For creation of OS bundles
[package.metadata.bundle]
identifier = "meshchat.mackenzie-serres.net"
icon = ["assets/images/icon.png", "assets/images/icon.ico"]
resources = ["assets"]
category = "public.app-category.social-networking" # would prefer to find a better category
short_description = "An application for chatting on the Meshtastic LoRa MESH via connected Bluetooth LE radios"
osx_frameworks = []
osx_minimum_system_version = "10.11"
#osx_url_schemes = ""
osx_info_plist_exts = ["assets/plist_exts/bluetooth.txt"]
deb_depends = ["openssl-devel", "libdbus-sys"]

And it generates these bundles for me in GH Release 2.1 :
Image

(I assume the 0.2.0 and 0.2.1 discrepancy is pilot error on my part, I'll check)

I was looking at an auto-update (self_update) framework for my app, and that made me realize that the bundle created for mac meshchat.app.zip has a very generic name and unlike the other bundles created:

  • doesn't include the version number in the name (not a big deal for me)
  • doesn't include the target architecture it was build for (I checked the file included and it is a meshchat: Mach-O 64-bit executable arm64)

and hence the update framework looking for it doesn't find it:
[ERROR] ReleaseError: No asset found for target: aarch64-apple-darwin``

Is there any way I can request it to add the architecture/target, and maybe the version, to the filename for the macOS bundle?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions