Skip to content

Build for Windows

Cutls edited this page Apr 14, 2021 · 4 revisions

Strongly recommend to use yarn, not npm

git clone https://github.com/cutls/TheDesk
cd TheDesk/app
yarn install

yarn build --windows

--windows option has no effect when running on Windows.

Options

Usage

you add option someOption...

Run yarn build --someOption

List

  • onlyStore
    Microsoft Store or choco assets(without update check)
  • withStore
    Microsoft Store or choco assets(without update check) assets and normal version
  • withIa32
    ia32 build on x64 system(available on x64 system)
  • withArm64(beta)
    arm64 build on x64 system

Example

Command System Normal build Store build x64 ia32 arm64
yarn build x64 - - -
yarn build ia32 - - -
yarn build arm64 - - -
yarn build --withIa32 x64 - -
yarn build --withIa32 arm64 - -
yarn build --withArm64 x64 - -
yarn build --withArm64 ia32 - - - - -
yarn build --withStore x64 - -
yarn build --onlyStore x64 - - -
yarn build --withIa32 --withStore --withArm64 x64

Preset

The left side command has the same meaning of the right side.

yarn build:all: yarn build --withStore --withIa32 --withArm64
yarn build:all:x64: yarn build --withStore