Compiling in Electron for both MacOS and Windows
-
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! -
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.
-
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! -
@aestheticarepa You can use a VM to run MacOS and build a mac electron version…
-
@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.
-
for macOS users first
brew install --cask wine-stable
than tryquasar build -m electron -T mas
mas can bedarwin, linux, mas, win32
also you can buy me a coffee @ Patreon
-
@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.
-
Use the -T option:
quasar build -m electron -T darwin -T win32
see available options:
quasar build --help
-
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 alwaysOr use the electron-builder build command as specified on the electron-builder site:
electron-builder --macAny thoughts?
-
@diadal said in Compiling in Electron for both MacOS and Windows:
quasar build -m electron -T mas
Can you run the build with win64?
-
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/