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

    How To Sign Mac App Created Using Electron in Quasar

    Help
    3
    7
    429
    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.
    • O
      omgwalt last edited by

      I’ve got my app figured out for PC, iPhone, and Android. Only the Mac version is yet to be released. When I create it on my Mac using the command > quasar build -m electron, I can install the app just fine, but when I try to run it I get an error, “[App] can’t be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information”

      I gather this means that I need to sign the app somehow, but how do I do sign it on my Mac? (I’m more of a PC guy.)

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @omgwalt last edited by

        @omgwalt https://www.electronjs.org/docs/tutorial/code-signing#code-signing

        O 1 Reply Last reply Reply Quote 0
        • O
          omgwalt @metalsadman last edited by

          @metalsadman Thanks metalsadmin. I’m still not clear where to add stuff described on those pages. Do I add settings to quasar.conf.js? To package.json? Or do I go directly into src-electron and add them to electron-main.js? It would be great if there was a template somewhere I could reference.

          metalsadman 1 Reply Last reply Reply Quote 0
          • metalsadman
            metalsadman @omgwalt last edited by metalsadman

            @omgwalt sorry but I haven’t tried that myself as I’m no Mac user, imo should be covered in their docs. The builder / packager is set at https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron#Quasar.conf.js. be sure to read the quasar docs counterpart, from the looks of it you’ll be using the builder since packager don’t use signing.

            1 Reply Last reply Reply Quote 0
            • dobbel
              dobbel last edited by

              Just to compare: Mobile Cordova/Capacitor Quasar apps have a 'how to publish to store" section in the docs. Electron doesn’t… yes I could PR but I have no knowledge of electron 😞

              O 1 Reply Last reply Reply Quote 0
              • O
                omgwalt @dobbel last edited by

                @dobbel Agreed. I’ve opened a request for documentation in Quasar’s GitHub issues page.

                1 Reply Last reply Reply Quote 0
                • metalsadman
                  metalsadman last edited by

                  The docs has it, and allocated an object where you can put the config in conf.js file, provided outside link corresponding to packager or bundler.

                  But yeah, if you guys make it work and want to enhance the doc by adding step by step process, then do file a P.R.

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