Hi Paul,

I don think it makes much sense to keep the data file in the built application. 
I think it will be deleted each time a new build is completed.

On the Mac I opted to install the myApp in the Application folder. I have 
installed the data file in the Documents folder inside it’s own myDataFolder.

That way you can store your data on your Mac and keep it in a similar folder 
and then it will “remember” because your client will mirror your setup. I think 
I’m right but time will tell.

> One other thing. I notice that there is a _CodeSignature file in the app. I 
> think the app gets signed in the build interface. Does adding a data folder 
> to the app affect the code signing? 


Not to my knowledge. This is a program feature courtesy of Apple.com for pour 
protection! Feel the irritation and sarcasm…

> Also I signed up to become an Apple Developer. It took me a couple of days to 
> read/skim the 80 page agreement. Now I have to figure out what to do to get 
> code signing approval. I think they call it a ticket. 

It depends upon the level. I opted for downloading a certificate and just 
having myApp link to in the build. 4D v17 is setup for that.

Although I understand in later versions of the Mac OS then technically an App 
is supposed to be submitted by the installer to Apple so they can verify that 
it doesn’t have any virus and the like.

I don’t intend to do this until I have no choice! I use BitDefender and they 
seem to a good job of keeping my computers clean.

Anyway, none of this was really simple for me. Perhaps I just mentally made it 
more challenging then it needed to be.

Right now I”m going through as similar run for the windows version of myApp.

Cheers,
John…



>> What do you want the package to do when you double-click it?
> Good question. When I double-click the the app I would like it to launch with 
> the data file. 
> 
> I created a folder “Data” and put the various 4D data files in it. Then I put 
> the “Data” folder into the My4D.app. The first time it is launched it asks me 
> to open a data file. I navigate to and select the data file inside of 
> My4D.app. The second time it is launched it remembers where the data file 
> was. So this is a good solution to have everything in one .app package. 
> 
> But sometimes there will be updates and the old data should be used. The 
> everything in one package becomes problematic because it is too hard for the 
> user to deal with the data files. It may be better to have the Data folder 
> outside of the .app to make it easier for my users to swap in new code. It 
> might be tougher for them to locate the old data file.
> 
> One other thing. I notice that there is a _CodeSignature file in the app. I 
> think the app gets signed in the build interface. Does adding a data folder 
> to the app affect the code signing? 
> 
> Also I signed up to become an Apple Developer. It took me a couple of days to 
> read/skim the 80 page agreement. Now I have to figure out what to do to get 
> code signing approval. I think they call it a ticket. 
> 
> Paul Ringsmuth
> pringsm...@charter.net <mailto:pringsm...@charter.net>
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to