Re: [Vala] Vala on Windows



On Feb 4, 2008 10:30 PM, Daniel Svensson <dsvensson gmail com> wrote:
On Feb 4, 2008 5:24 PM, Vlad <b100dian gmail com> wrote:
This way you can install the .vapi files in Application Data, on windows.

Is Application Data really a place to store static global data? Isn't
that the place where applications store data that gets created by the
application, and is local to the user? vapi-files are system-wide, so
shouldn't they be placed in c:\program files\vala\vapi\*? There is an
environment for finding out where c:\program files is (localized in
non-english versions).

--
Daniel Svensson


Sorry, I misinterpreted the g_get_system_data_dirs () documentation.
It actually returns an array of folders (Application Data is among
them) but the key to vala's problem on win32 is still here:
Then the "share" subfolder in the installation folder for the
package containing the DLL that calls this function, if it can be
determined.
...
The installation folders above are determined by looking up the
folder where the module (DLL or EXE) in question is located. If the
folder's name is "bin", its parent is used, otherwise the folder
itself.

I think is _exactly_ what's intended.

Vlad



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]