6 lines
186 B
Lua

-- shows how a script can get a private file path
-- the output on my Windows machine is:
-- C:\Documents and Settings\steve\.testapp\test.txt
require 'pl'
print(app.appfile 'test.txt')