mathix420 / free-the-web-apps

Turn any website into an app in seconds!
https://ftwa.mathix.dev
GNU General Public License v3.0
360 stars 6 forks source link

Possibility to add custom command flags to exec #13

Open dyce opened 1 month ago

dyce commented 1 month ago

I'm running wayland (hyprland) and need to pass some flag to chromium apps in order for them to display correctly.

Would be nice to have an additional input on the website where we can add flags that should be added to the command as a type of advanced settings for example. (Or make them work when added in the path input, see below)

I tried to add them to the executable path input, but it seems like the spaces between binary and flags were escaped and google-chrome-unstable --enable-features=UseOzonePlatform --ozone-platform=wayland ended up like this in your script and the command would not execute: Exec=/usr/bin/google-chrome-unstable\ --enable-features=UseOzonePlatform\ --ozone-platform=wayland --app='xyz'

mathix420 commented 1 month ago

hi @dyce thanks for the issue, it's nice to know. I will probably add global settings allowing you to define custom flags for executables.