How to package a Windows installation on macOS?
To create a Smart Classroom Windows installation package using a Mac, take the following steps:
-
Delete
agora-electron-sdk
in thenode_modules
folder. -
Add the following code to the
package.json
file: -
Modify the
pack:win
command in thepackages/agora-demo-app/package.json
file and add thearch
parameter at the end to specify the system architecture, such as the 64-bit operating system architecture:If you need to package for a 32-bit operating system, change the last parameter to
--ia32
. -
Run the installation command again:
-
Run the following commands to package Smart Classroom:
-
The packaging process is complete. You can find the generated installation package in the
packages/agora-demo-app/release
directory.