Skip to content

Conversation

@fxtentacle
Copy link

Attached is a shell script, aptly named package_electron.sh, which one can run after the regular yarn build. The script will create a build-electron folder and fill it with the stuff necessary to package things as an Electron app. A few seconds later, the results should be stored as build-electron/dist/EteSync Electron-0.6.0.AppImage and build-electron/dist/etesync-electron_0.6.0_amd64.snap.

By changing the yarn build-linux row to either yarn build-win or yarn build-mac, one can also create Windows and Mac versions.

In addition to the shell script, I have added an icon.png file into the public folder. This PNG is converted into the various app icons for Linux, Windows, and Mac.

In case anyone searches for issue #31, this is my attempt at a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant