lua-users home
lua-l archive

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


Your suggestion to change the "Privacy & Security" System Settings worked!
I had to select "Files & Folders", find Glu, and enable "Documents Folder".

Here is the output from "Samples/getdir.lua":

glu.getdir("app")       = /Users/volkmannm/Documents/dev/lang/lua/glu-1.0-mac/

glu.getdir("current")   = /Users/volkmannm/Documents/dev/lang/lua/glu-1.0-mac/Scripts/Samples/

glu.getdir("data")      = /Users/volkmannm/Library/Application Support/Glu/

glu.getdir("downloads") = /Users/volkmannm/Documents/dev/lang/lua/glu-1.0-mac/Users/volkmannm/Library/Application Support/Glu/Downloads/

glu.getdir("scripts")   = 

glu.getdir("temp")      = /var/folders/zl/qytwq65j6yn278y4xf1n93s40000gp/T/glu_0jltd8/


You can see that many of those paths include my "Documents" directory.

On Fri, May 19, 2023 at 10:42 PM Andrew Trevorrow <andrewtrevorrow@gmail.com> wrote:
Hi Mark,

> I installed the Mac version. It asked me if I wanted to grant access to my Documents directory and I said "no".

That's odd.  Glu makes no attempt to access your Documents folder so I'm not sure
why you're being asked to allow that.  Which version of macOS are you using?
Anyway, here's a possible solution:

https://support.apple.com/en-au/guide/mac-help/mchld5a35146/13.0/mac/13.0

If that fails then delete the glu-1.0-mac folder, download the dmg file again but this time try
installing the glu-1.0-mac folder in a different location (should be ok anywhere you have
read/write access).

If you do manage to get Glu to start up, please run Samples/getdir.lua and send me the
resulting output.  Maybe Apple has changed the default location for an app's data
(on my Catalina system it's /Users/myusername/Library/Application Support/Glu/).

Andrew



--
R. Mark Volkmann
Object Computing, Inc.