A collection of scripts and icons to make it speedier to "nativefy" web apps.
You'll need Nativefier installed for these to work.
npm i -g nativefier
I've made these scripts public so other people can benefit from them, but they're mainly for my own personal use. As such I probably won't accept improvements or additions. I don't want this to become some huge repository of random scripts for making random apps. Feel free to copy and modify the scripts as required if you want to use your own apps with it.
Run the script for the required app.
Eg to build Facebook Messenger: ./build-scripts/com.Facebook.Messenger.sh
These are hard-coded since I can't be bothered to make a proper script for generating them. Dynamically.
You can still link them up using link-desktop.sh
. Just give it the ID of the
app and it'll link the desktop entry and the icon for you. For example, to link
Facebook Messenger: ./link-desktop.sh com.Facebook.Messenger
. Note that this
doesn't ensure that the files exist, so be careful not to make typos or they
won't work.
Icons don't seem to work correctly under Wayland unless you do some hacking around.
To fix the icons for an app, go into it's build folder, then go to
resources/app/package.json
. Change the app name to be its app ID (eg
com.Facebook.Messenger
) and hit save. This should cause it to work in most
places.
Fix grabbed from this GitHub issue.
- Use XDG commands to install the desktop files and icons rather than copying them manually.