Jump to content

simpoltin

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by simpoltin

  1. This is a general request but I play on Linux and it's a little frustrating when my home folder get clogged with hidden files and folders for every program I use. I would like to see the location for the user files be configurable or at least conform to the XDG specifications on Linux.

    https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

    To alleviate what appears to be a hard-coded location a check could be implemented that decides where to store/load the data. A plain language flow in the code block below would allow future installs to conform to XDG, allow current installs to be changed, and not breaking install for anyone that using a distro that doesn't conform to the standard.
     

    If ~/.avorion exists
    	use ~/.avorion
    ElseIF $XDG_DATA_HOME is set
    	If $XDG_DATA_HOME/avorion exists
    		use $XDG_DATA_HOME/avorion
    	Else
    		create and use $XDG_DATA_HOME/avorion
    Else
    	create and use ~/.avorion
    EndIF

     

     

    • Like 1
  2. Is the modified version still working? I am trying to implement on my server and the mines are spawning but I am unable to interact with them. I've added the two modified files to my local install and added the files to my dedicated server.

     

    --Nevermind still working, I misplaced the modfiles locally

×
×
  • Create New...