Sounds good enough, if it suffices ... Meanwhile I ll push an improvement upstream for next versions ... Thanks.
On 3 May 2018 at 19:18, Solene Rapenne <sol...@perso.pw> wrote: > > Stuart Henderson writes: > > > On 2018/05/03 15:21, David CARLIER wrote: > >> True it writes in the current folder, due to the original design of the > >> game structure (meant to be packaged for gaming platform). > >> Is this a blocker for pushing the port ? > > > > imho yes. at a minimum we could ship a wrapper that cd's somewhere sane > first. > > Something like this ? > > #!/bin/sh > mkdir -p ~/.barony > cd ~/.barony || ( echo "Can't cd into ~/.barony" ; exit 1 ) > ${LOCALBASE}/bin/barony $@ > cd $OLDPWD >