<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Juan, </div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 22/07/2026 à 17:03, Juan Vuletich a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:5a1add62-c608-4936-9a51-18ade88fd770@cuis.st">Hope this
helps.</blockquote>
<p>I observed a different behavior for the userBaseDirectory</p>
<p>To clarify, my bundles application has this structure:</p>
<p><font face="monospace">hilaire@PCHome:/tmp$ tree -A -L 2 DyboApp/<br>
DyboApp/<br>
├── DyboAppMulti.sh<br>
├── DyboApp.sh<br>
├── License.txt<br>
├── Logs<br>
│ └── transcript.txt<br>
├── README<br>
├── Resources<br>
│ ├── dkm<br>
│ ├── graphics<br>
│ ├── image<br>
│ ├── myExports<br>
│ ├── myPDF<br>
│ ├── refData<br>
│ ├── scripts<br>
│ └── userData<br>
├── UserChanges<br>
│ ├── dybo-dau.user.changes<br>
│ └── dybo.user.changes<br>
├── UserPrefs.txt<br>
└── VM<br>
└── Linux-x86_64<br>
</font></p>
<p>As you can see the UserPrefs.txt is saved in DyboApp; so
#userBaseDirectory is set there, I did not, so Cuis does.</p>
<p>I observed different behavior compare to what you described. To
me the #userBaseDirectory is set at the location from where is
started my application.</p>
<p>For example:</p>
<p><font face="monospace">cd /tmp<br>
./DyboApp/DyboApp.sh</font></p>
<p><font face="monospace">#userBaseDirectory => /tmp</font></p>
<p>The former UserPrefs.txt <b>is not found</b></p>
<p><br>
</p>
<p><font face="monospace">cd /tmp/DyboApp<br>
./DyboApp.sh</font></p>
<p><font face="monospace">#userBaseDirectory => /tmp</font></p>
<p>The former UserPrefs.txt <b>is found</b></p>
<p><br>
</p>
<p><font face="monospace"></font></p>
<p><font face="monospace">cd /home/hilaire/Documents<br>
/tmp/DyboApp/DyboApp.sh</font></p>
<p><font face="monospace">#userBaseDirectory =>
/home/hilaire/Documents</font></p>
<p></p>
<p><br>
</p>
<p>Of course I can set #userBaseDirectory to whatever value I want,
for example ~/.config/dyboapp/ But how is set its default value?</p>
<p>As it will be super useful when building Cuis application, I created
a new documentation in the DrCuis workbench
(<a class="moz-txt-link-freetext" href="https://github.com/DrCuis/Workbench/wiki/Cuis-Base-Directories">https://github.com/DrCuis/Workbench/wiki/Cuis-Base-Directories</a>).
I will edit it all along our discussion. Of course, every one is
welcome to edit it too.</p>
<p>Thanks</p>
<p>Hilaire</p>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>