Closed hi85gh closed 5 years ago
https://github.com/diraq-sea/diraq_desktop/issues/106#issuecomment-482001466
macOS 向けの署名付きビルドは macOS でしかできないようなので別の CI 環境を検討します。 一旦署名なしでできる部分を進めます。
Commit : https://github.com/diraq-sea/diraq_desktop/pull/104/commits/4d58ab019a9b65e92ab945eb4cb894bcbc069fcf
Squirrel.Windows という仕組みを利用して Windows でインストール時にスタートアップにアプリを追加できるようにしています。
yarn build --macos --windows
とし Linux のビルドはしない設定にしています。なお macOS から Windows の Squirrel.Windows 用のビルドをする場合は、オープンソースの「. NET Framework」互換環境である Mono が必要になります。
60 の対応で #102 で追加したビルド用のスクリプトを CircleCI で実行できるようにしました。
build
ブランチの場合のみpackaging
ワークフローを実行します。* 反対に
commit
ワークフローは実行しません。ディスクイメージファイル(拡張子
.dmg
)は macOS でしかビルドできないようだったので、ビルド設定を"target": "zip"
に変更しています。あらためて確認しますが、 macOS 向けの署名付きビルドは macOS でしかできない可能性があります。