Skip to content

Windows向けにビルド

Cutls edited this page Apr 14, 2021 · 3 revisions

Yarnを使用してください。npmは使用しないでください。

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

yarn build --windows

--windowsはWindowsで実行するとき省略可能です。

オプション

使い方

someOptionを付与するには...

yarn build --someOption

一覧

  • onlyStore
    Microsoft Storeやchocoなど用のアセットです。アップデートを確認しません。
  • withStore
    通常版とMicrosoft Storeやchocoなど用のアセットです。Store版はアップデートを確認しません。
  • withIa32
    x64システム上でia32用のビルドも作成します。
  • withArm64(beta)
    x64システム上でarm64用のビルドも作成します。

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

プリセット

以下は同じ意味です。

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