<div dir="ltr">I've checked the link and as I understand it doesn't take wildcards, so if I don't know beforehand the names of the files that will be created at runtime then I'm in big trouble.<div><br></div>

<div>Also the folder I store my data files according to this link <a href="https://harbour.jolla.com/faq#2.14.0">https://harbour.jolla.com/faq#2.14.0</a> is $XDG_DATA_HOME/<MyGameName> when I added in my .spec file with the %ghost directive packaging failed and according to the above link it states <br>

</div><div><div><br></div><div>"<span style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px">You must not hardcode </span><b style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>/home/nemo/</tt></b><span style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"> or </span><b style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>$HOME/.config/</tt></b><span style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px">, etc. - use the Qt 5 QStandardPaths, GLib convenience methods or the xdg-helper library to determine the paths. This will make sure your application keeps working for sandboxed use cases, multi-user use cases as well as multi-profile single-user use cases.</span>"</div>

<div><div><br></div><div><br><div>So which is the proper way to have the folders <b style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_CONFIG_HOME/<HARBOUR_APP_NAME></tt></b>   and    <b style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_DATA_HOME/<HARBOUR_APP_NAME></tt></b>    and  <b style="color:rgb(40,127,147);font-family:'Source Sans Pro',sans-serif;font-size:14px;line-height:20px"><tt>$XDG_CACHE_HOME/<HARBOUR_APP_NAME></tt></b>      removed automatically when removing my game?</div>

<div><br></div><div>These three folders aren't automatically created on installation and as I understand I have to create them at run-time on my first run if I want to use them.</div></div></div></div><div><br></div>
<div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 March 2014 09:19, Andrey Kozhevnikov <span dir="ltr"><<a href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
<a href="http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html" target="_blank">http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html</a><div><div class="h5"><br>
    <br>
    <div>On 14.03.2014 13:16, Iosif Hamlatzis
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I was told in another thread that if I wanted my
        configuration and data files that my game places in the <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:16px">XDG
          basedir </span>to be removed during uninstallation I should
        use the %ghost directive in the .spec file.
        <div>
          <br>
        </div>
        <div>I am not a linux developer so I don't know what this means,
          is there a sample somewhere? I couldn't find something in the
          sailfish site. Also can I include a whole folder so that I
          don't have to add by hand all files?</div>
        <div><br>
        </div>
        <div>I thought we don't modify the .spec file but instead
          everything is done through the GUI that changes the .yaml file</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br></blockquote></div><br></div>