Configuration.ps1

# Installer Settings
$WorkspaceDirectory = Join-Path $CackledaemonWD 'Workspace'
$EmacsDownloadsEndpoint = 'https://ftp.gnu.org/gnu/emacs/windows/'
$EmacsInstallLocation = Join-Path $Env:ProgramFiles 'emacs'
$StartMenuPath = Join-Path $Env:AppData 'Microsoft\Windows\Start Menu\Programs\Gnu Emacs'

# Emacs Settings
$HomeDirectory = $Env:UserProfile

# Logging Settings
$CackledaemonLogFile = Join-Path $CackledaemonWD 'Cackledaemon.log'
$EmacsStdOutLogFile = Join-Path $CackledaemonWD 'EmacsStdOut.log'
$EmacsStdErrLogFile = Join-Path $CackledaemonWD 'EmacsStdErr.log'
$LogSize = 1mb
$LogRotate = 4
$LogCheckTime = 60  # Seconds

# Daemon Management Settings
$PidFile = Join-Path $CackledaemonWD 'DaemonPidFile.json'

# Tray Icon Settings
$NotifyTimeout = 5000