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

    Compiling in Electron for both MacOS and Windows

    Help
    6
    11
    2280
    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.
    • A
      aestheticarepa last edited by

      Hey all,
      I’m trying to compile a desktop app using Electron, currently I’m using W7, working good so far.
      How can I compile the app for both Windows and MacOS? Thanks in advance!

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

        My guess, you can’t compile Mac Electron apps on non mac machines. Just like you can’t build IOS (cordova/native) apps on a Windows machine. But you can build Android apps on a mac.

        1 Reply Last reply Reply Quote 0
        • A
          aestheticarepa last edited by

          I gave a read to Electron builder docs and it stays you’re able to build cross platform apps by using builder, and passing -mwl to the parameters or by passing flags.
          https://www.electron.build/multi-platform-build
          You can also do the same with packager by passing the --platform=darwin flag to the command-line, I tried doing something like “quasar build -m electron – --platform=darwin” but it doesnt seem to work, also specified the platform on the packager options and it’s not working either, I’ll try looking deeper in the Electron docs for quasar for more info, if I have any luck I’ll be sure to post it here, but any help would be appreciated!

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

            @aestheticarepa You can use a VM to run MacOS and build a mac electron version…

            1 Reply Last reply Reply Quote 0
            • C
              cynderkromi @aestheticarepa last edited by

              @aestheticarepa Have you figured out how to get it to work? I’m also wanting to build on my Mac for Windows. I have it working for my Mac and for the web, but I would love it to work for a windows exe too.

              1 Reply Last reply Reply Quote 0
              • D
                diadal last edited by

                for macOS users first brew install --cask wine-stable than try quasar build -m electron -T mas mas can be darwin, linux, mas, win32

                also you can buy me a coffee @ Patreon

                C 2 Replies Last reply Reply Quote 0
                • C
                  cynderkromi @diadal last edited by

                  @diadal okay, I was hoping I didn’t have to install wine, thinking that was only necessary for icons. But I can install wine too.

                  1 Reply Last reply Reply Quote 0
                  • F
                    fakx last edited by

                    Use the -T option:

                    quasar build -m electron -T darwin -T win32

                    see available options:

                    quasar build --help

                    1 Reply Last reply Reply Quote 0
                    • C
                      cynderkromi last edited by

                      I am looking more seriously at the final build and it’s kinda confusing.

                      The Quasar docs say to use quasar.conf.js
                      https://quasar.dev/quasar-cli-webpack/developing-electron-apps/build-commands#publishing-electron-builder-only-

                      And I’d like to use electrion-builder because I’ve read that it has automatic updates incorporated. Nice!

                      Anyway, so I’m not sure if it’s best to use the Quasar build command:
                      quasar build -m electron -P always

                      Or use the electron-builder build command as specified on the electron-builder site:
                      electron-builder --mac

                      Any thoughts?

                      1 Reply Last reply Reply Quote 0
                      • C
                        cynderkromi @diadal last edited by

                        @diadal said in Compiling in Electron for both MacOS and Windows:

                        quasar build -m electron -T mas

                        Can you run the build with win64?

                        1 Reply Last reply Reply Quote 0
                        • X
                          xfinity26 last edited by

                          You can track the balance through Walmart’s website or app. Walmart website or through the Walmart app. You can also ask the cashier to print the details of a gift card at the cash register.
                          https://sites.google.com/view/checkwalmartgiftcardbalance/
                          https://sites.google.com/targetgiftcardsbalance.com/targetgiftcardbalance/
                          https://sites.google.com/view/homedepotgiftcardbalances/
                          https://sites.google.com/view/macysgiftcardbalance/
                          https://sites.google.com/egiftcard.website/targetcomcheckbalance/
                          https://sites.google.com/view/targetgiftcardbalancee/contact-us
                          https://sites.google.com/paypalloginus.com/paypal-login/
                          https://sites.google.com/ledgercomstarts.com/ledgercomstarts/
                          https://sites.google.com/view/venmol0gin/
                          https://sites.google.com/view/walmartgiftcardbalancecheckk/
                          https://sites.google.com/view/url-amazon-com-redeem/
                          https://sites.google.com/view/vanillagiftcardbalancee/
                          https://sites.google.com/vanillaegiftcardbalance.com/vanillagiftcardbalance/
                          https://sites.google.com/vanillaegiftcardbalance.com/vanillaegiftcardbalance/
                          https://sites.google.com/vanillaegiftcardbalance.com/vanillagiftcardbalancecheck/
                          https://sites.google.com/vanillaegiftcardbalance.com/vanillagiftcardbalances/
                          https://amazoncomcode.onepage.website/
                          https://sites.google.com/ledgercomstarts.com/ledgercomstart/
                          https://sites.google.com/view/dunkindonutsgiftcardbalances/
                          https://sites.google.com/view/amazoncomredeemgift/
                          https://sites.google.com/view/url-amazoncom-mytv/
                          https://sites.google.com/view/amazon-redeem-canada/
                          https://sites.google.com/view/amazoncomredeemuk/
                          https://sites.google.com/mytargetgiftcardbalance.com/targetcomcheckbalance/
                          https://sites.google.com/mytargetgiftcardbalance.com/targetgiftcardbalance/
                          https://sites.google.com/view/sephoragiftcardbalance/
                          https://sites.google.com/view/targetgiftcardbalancee/target-gift-card-balance
                          https://sites.google.com/view/targetcomcheckbalance/
                          https://sites.google.com/gifrcard-balance.com/ebaygiftcardbalance/
                          https://sites.google.com/targetredcardslogin.com/targetredcardlogin/
                          https://sites.google.com/view/itunes-gift-card-balance/
                          https://sites.google.com/view/ebay-gift-card-balance/
                          https://sites.google.com/view/fandangogiftcardbalance/
                          https://sites.google.com/gifrcard-balance.com/bestbuygiftcardbalance/
                          https://sites.google.com/view/nikegiftcardbalance/

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