Issue with dropbox

Jimmieson, Phil phil at liverpool.ac.uk
Fri Sep 11 03:52:01 EDT 2020


Hi Charles,
if this is on a Mac, it’s a security feature - apps cannot access folders outside of their own bundle unless the user explicitly grants permission. If you add an "answer folder”  command to your program, and ask the user to select folder B, then your app will be granted access to it and everything will work as it should.

Downloaded apps (even if you download them in a zip file) are flagged as being insecure and are not allowed to access your Mac’s filesystem.

I had this problem with an app of mine. An alternative approach I took there was to put folders of required supporting files into the app’s own bundle - using the standalone builder’s copy files tab. Apps are allowed to access files in their own bundle (but should not change them if your app is digitally signed).

--
Phil Jimmieson
University of Liverpool, Computer Science Department
Ashton Bldg, Ashton Street, Liverpool. L69 3BX
0151 795 4236

On 10 Sep 2020, at 23:33, Charles Lachat via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Hi everybody,

A friend has accepted to test my new desktop app. I upload the app to dropbox and send a link, by e-mail, to my friend.

My app is in a folder "A" containing :

** the app
** a folder "B" containing several text files the app needs

The folder "A" is zipped before uploading.

After downloading (friend side) and unzipping, all the files are there but the app behaves as if there were no folder "B".

Most of the time.

What am I doing wrong ? Any idee ?




Thanks
Charles Lachat

===========
iMac 2019
macOS 10.14
Livecode 9.6.0



_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list