No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Anybody succeeded in building electron app for arm64 macos variant ?

    Help
    2
    5
    400
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sfinx last edited by

      quasar cli always bulding the macos x64 version despite any command line options

      1 Reply Last reply Reply Quote 0
      • I
        Ilia last edited by

        Hi,
        What builder you are using for creating the build? Electron-builder or electron-packager?

        1 Reply Last reply Reply Quote 0
        • S
          Sfinx last edited by

          Hi, I’m using electron-builder. But the --arch command line option is just ignored

          I 1 Reply Last reply Reply Quote 0
          • I
            Ilia @Sfinx last edited by

            @Sfinx In quasar.conf in builder section, have you tried to use ‘mas’ parameter for building and check?

            mac: {
              target: [
                "zip",
                "dmg"
                "mas" <- this one
              ]
            }
            

            Also, that’s worth checking if you have Electron v11 for that just in case 🙂

            1 Reply Last reply Reply Quote 0
            • S
              Sfinx last edited by

              @Ilia Adding mas do not changing anything, I need arm64 build not x86:

              …build log…
              • packaging platform=mas arch=x64 electron=11.0.3 appOutDir=dist/electron/Packaged/mas
              • downloading url=https://github.com/electron/electron/releases/download/v11.0.3/electron-v11.0.3-mas-x64.zip size=78 MB parts=8
              • building target=macOS zip arch=x64 file=dist/electron/Packaged/app-mac.zip
              • downloaded url=https://github.com/electron/electron/releases/download/v11.0.3/electron-v11.0.3-mas-x64.zip duration=11.973s
              …

              As you can see from build log zip and mas targets are using the same electron-v11.0.3-mas-x64.zip

              1 Reply Last reply Reply Quote 0
              • First post
                Last post