Yangster electron application
The executable artifacts can be downloaded from here.
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.
releases
page and select the Draft a new release
button.v\d+\.\d+\.\d+
patten. For instance, v2.12.4
. By default, the target branch is master
, which is fine for our use-case.Save draft
.package.json
. The new version should match with the previously configured version of the draft release. Note, the leading v
should be omitted from the version in the package.json
.releases
page and select your release draft you would like to finalize. Select edit
.Publish release
. "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.