Hi. I am looking for a way to create a new uwt wrapper for custom installed apps.
I found this clue. But I’m probably too dumb to emulate it.
For example, I want to create a uwt wrapper for a monerod.
-
I added monerod rows in the 3 config files like in the github example (uwt_default, timeprivacy_default, …/overrides/uwt)
-
Next, in usr/bin/ I have to rename original “monerod” to “monerod.anondist-orig”, right?
-
Then I have to create “monerod.anondist” shell script and “monerod” symlink to the previously created script with this code inside, right?
#!/bin/bash
## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
export uwtwrapper_parent="${BASH_SOURCE[0]}"
exec /usr/lib/uwtwrapper "$@"
If this is correct, how can I add this code inside the symlink? I can’t edit symlinks with sudoedit.