Dear Gods, when I play desktop applications in electron-packager, I want to choose win32 or darwin according to the system to distinguish whether different systems have other tools or configure what parameters can be used to create applications identified by the two systems with one command.
configuration items I am currently like this
"packge": "electron-packager ./app eedd --platform=darwin --arch=x64 --out=./out --asar --app-version = 0.01 --electron-version=2.0.0",
"pack": "electron-packager ./app eedd --platform=win32 --arch=x64 --out=./out1 --asar --app-version = 0.01 --electron-version=2.0.0"