Re: New installation code ( Courtesy of Tom)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Some updated info for Windows installs:

In my version of Windows, the actual path to the directory created by geany is

    C:\Users\Owner\AppData\Roaming\geany 

That path doesn't exist until geany is run once. You should tell users to run geany once so it can write those default files/dirs. This way you can confirm that whatever path they provide for installing these forms is correct.

The path to geany config files needs to be gotten from getenv("APPDATA"), instead of getenv("HOME").

APPDATA can be used from Windows XP on up. On my Windows XP box, it returns

    C:\Documents and Settings\user\Application Data 
On Windows 7 it returns
    C:\Users\Owner\AppData\Roaming\geany 
The Windows file path code need only be this:

constant GEANY_DIR = getenv( "APPDATA" ) & SLASH & "geany" 

Ask if ya gots questions... smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu