I forget to specify what I mean, sorry:
Suppose my application is C:\Somwhere\bla\my_app.exe which has a C:\Somwhere\bla\index.html inside, I would like to be able to use / in my paths to refer to C:\Somwhere\bla or at least, the path relative to where index.html is. I mean, because I know node extracts the application in %appdata% (somewhere there), it's ok if / refers to that path, the important thing is that it references the "main" directory of my application, the same where package.json is maybe or something similar
app
-- assets
-- bla
-- index.html
In this case the directory should be "app"
Can't it be done with some nodejs functionalities or similar?
Il giorno lunedì 13 maggio 2013 14:48:29 UTC+2, Chris Turnbull ha scritto: