[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obtain the actual system path
[Thread Prev] | [Thread Next]
- Subject: Re: Obtain the actual system path
- From: Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
- Date: Wed, 4 Sep 2024 15:28:07 +0300
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Assuming people got to the core issue... you can copy the files to a real directory or you can package your application with the files without containing them inside the executable. Jussi On Wed, Sep 4, 2024 at 10:00 AM System64 Development <64xcode@xxxxxxxxx> wrote: > Hi, > I want to get the actual path of the files hosted in the project but I > can't get it. > I explain in more detail. > In my project there is, for example, a directory that contains the icons: > > "./var/svg/ui" > > In the code when operating with these files, for example to read the > content I use something like: > > File.Load(“./var/svg/ui/unarchivo.svg”) > > But if I want to get the complete linux system path. That would be > something like: > “/home/myuser/gambas/myproject/var/svg/ui/somefile.svg”. > > How to get it through gambas code? > > Thanks. > > Martín. > > >
Obtain the actual system path | System64 Development <64xcode@xxxxxxxxx> |