LoginSignup
1
0

More than 3 years have passed since last update.

CI で electron-packager の spawn wine64 ENOENT

Last updated at Posted at 2019-12-07

CircleCI の Linux VM 上で circleci/node:12 イメージにて electron-packager を使って 3 プラットフォーム用のバイナリをビルドしていた。

electron-packager のバージョンを 14.1.0 から 14.1.1 に上げようとしたら Windows バイナリのビルドが壊れた。

パッチアップデートなのに CI が落ちてびっくりしたので記事に残している。

$ electron-packager () --platform win32 --arch x64

というコマンドでビルドするために今までは

command: |
  sudo dpkg --add-architecture i386
  sudo apt update
  sudo apt install -y wine32

と前準備をすればビルドできていたのだが、これをエラーメッセージの雰囲気から

command: |
  sudo apt update
  sudo apt install -y wine

と変更すれば動いた。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0