rootkiwi / an2linuxserver

Sync Android notifications encrypted to a Linux desktop
Other
402 stars 43 forks source link

Feature request: Have configurable paths for at least TMP_DIR_PATH #41

Open voobscout opened 5 years ago

voobscout commented 5 years ago

First off - thanks for sharing your code! After linconnect died, this is the only option.

Can you please change tthe hardcoded TMP_DIR_PATH to something user configrable? Either read from ENV or a setting in options file. Better yet, read XDG_RUNTIME_DIR or something?

Had an issue with this - lightdm starts the user systemd for an2linux and obviously perms on $TMP_DIR_PATH/an2linux are set accordingly, so the dir is not writable for a user that logs in.

rootkiwi commented 5 years ago

I see, if someone wants to take a look at this please do.