Skip to content

A collection of scripts and icons to make it speediter to "nativefy" web apps

License

Notifications You must be signed in to change notification settings

MaddyGuthridge/nativefier-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nativefier scripts

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.

Building apps

Run the script for the required app.

Eg to build Facebook Messenger: ./build-scripts/com.Facebook.Messenger.sh

Desktop entries

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.

Fixing icons

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.

Todo

  • Use XDG commands to install the desktop files and icons rather than copying them manually.

About

A collection of scripts and icons to make it speediter to "nativefy" web apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published