<div dir="ltr">?????????????????<div><br><div>Now I'm really confused</div><div><br></div><div>?????????????????<br></div><div><br></div><div>if it's not allowed in harbour why do you propose it as a solution?</div>

</div><div><br></div><div>As much as I don't want to, I think I will revert to bad form, I will create my config/cache/data folders at run-time, I will have my game create and use the settings and data files at the correct place and if someone doesn't like my game and removes it then he or she will have garbage on the device.</div>

<div><br></div><div>Let them deal with the problem with the jolla support team.</div><div><br></div><div>I know it's BAD but it seems jolla team haven't thought it through. </div><div><br></div><div>I know it's not proper to make comparisons but having my games on four different app stores (badaOS, webOS, BlackBerry and iOS) and all being source compatible makes me think there are a lot of issues with this new platform. </div>

<div><br></div><div>I didn't expect porting will be without an effort but then again I didn't have that much problem porting for example to iOS, considering that it's a platform the proposed language of development is Objective-C and not C/C++.</div>

<div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 March 2014 09:49, 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">
    use
    
    <b>%preun</b><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:'Times New Roman';word-spacing:0px"><span> </span><big>and</big><span> </span></span><b style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:'Times New Roman';word-spacing:0px">%postun</b> scriptlets, but its not allowed in harbour :D<div>

<div class="h5"><br>
    <br>
    <div>On 14.03.2014 13:43, Iosif Hamlatzis
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I cannot use the %ghost directive as I don't know
        the names of the data files that will be created during runtime,
        can I use the %ghost directive with wildcards?. Also the folder
        I store my data files according to this link <a href="https://harbour.jolla.com/faq#2.14.0" target="_blank">https://harbour.jolla.com/faq#2.14.0</a>
        is $XDG_DATA_HOME/<MyGameName> when I added in my .spec
        file packaging failed and according to the above link it states 
        <div>
          <br>
        </div>
        <div>"<span>You
            must not hardcode </span><b><tt>/home/nemo/</tt></b><span> or </span><b><tt>$HOME/.config/</tt></b><span>, 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><tt>$XDG_CONFIG_HOME/<HARBOUR_APP_NAME></tt></b> 
               and    <b><tt>$XDG_DATA_HOME/<HARBOUR_APP_NAME></tt></b>  
               and  <b><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><br>
            </div>
          </div>
        </div>
        <div class="gmail_extra">
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div class=""><pre>_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </div></blockquote>
    <br>
  </div>

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