The Nativefier_DE
is a Python script that simplifies the process of creating desktop entry files for web applications generated using Nativefier
. This allows for seamless integration of web apps into the Linux desktop environment.s
- Automatically
detects
andsets
executablepaths
. - Extracts application
name
andicon
information fromNativefier-generated content
. - Creates desktop entry files compatible with
Linux desktop environments
.
- Python 3.x
- Nativefier (install with
npm install -g nativefier
,snap install nativefier
)
-
Generate a web application using
Nativefier
.nativefier "yourwebapp.com"
-
Run the script, providing the
path
to the directory of thegenerated web app
.python3 build.py /path/to/your/web-app-directory
-
Refresh
your desktop environment orrestart
to see the newly created desktop entry.
- The script automatically determines the
executable path
and extracts applicationname
andicon
information. However, you can customize the behavior by editing the script as needed.
Contributions are welcome! Feel free to open issues, submit pull requests, or suggest improvements.
This project is licensed under the MIT License - see the LICENSE file for details.