Home

Awesome

yangster-electron

Build Status Build status

Yangster electron application

Try it out

The executable artifacts can be downloaded from here.

Prerequisites

Quick start

git clone https://github.com/theia-ide/yangster-electron.git \
&& cd yangster-electron \
&& yarn \
&& yarn build \
&& yarn package

The bundled applications will be available under the dist folder.

Publishing a new release

Troubleshooting

"Don't expect that you can build app for all platforms on one platform."

Install glib on OS X with brew install glib or update it with brew upgrade glib if you see:

dyld: Library not loaded: /usr/local/opt/glib/lib/libglib-2.0.0.dylib
Referenced from: /Users/username/Library/Caches/electron-builder/appimage/appimage-9.0.1/darwin/appimagetool
Reason: Incompatible library version: appimagetool requires version 5401.0.0 or later, but libglib-2.0.0.dylib provides version 5001.0.0

Install wine on OS X by running brew install wine if you see:

Error: Cannot check wine version: Error: Exit code: ENOENT. spawn wine ENOENT

Set the VCTargetsPath environment variable with SET VCTargetsPath=path\to\MSBuild\Microsoft.Cpp\v4.0\v140, and do npm config set msvs_version 2017 --global if you are facing with the following error on Windows:

error MSB4019: The imported project "some\invalid\path\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that t he file exists on disk.