P
P
Pashka232019-10-21 10:15:07
macOS
Pashka23, 2019-10-21 10:15:07

How to properly uninstall an application from the application code on MacOs?

Hello!
Please tell me when developing an application on MacOs:
1) In which folder to put the application's local database, log file, etc. ?
2) What is the true way to uninstall an application from the application code itself? So far, it only comes to mind to run a bash script that will remove the application folder from Applications.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-10-21
@Pashka23

1. to the standard ones: ~/Library/Application Support/AppName, ~/Library/Logs/AppName
2. why? the user himself is able to drop the application to the trash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question