# Functions
CertsExist checks if the certs have already been generated.
GenerateConfig function will take a directory path as an input and will write the default config,ini file to that directory, it will panic if something goes wrong.
GetCertificatesDir return the directory where SSL certificates are saved.
GetDataDir returns the full path to the default Arduino Create Agent data directory.
GetDefaultConfigDir returns the full path to the default Arduino Create Agent configuration directory.
GetDefaultHomeDir returns the full path to the user's home directory.
GetLogsDir return the directory where logs are saved.
InstallPlistFile will handle the process of creating the plist file required for the autostart and loading it using launchd.
LogsIsEmpty checks if the folder containing crash-reports is empty.
SetInstallCertsIni sets installCerts value to true in the config.
UninstallPlistFile will handle the process of unloading (unsing launchd) the file required for the autostart and removing the file.