diff --git a/.env.example b/.env.example
index aa50578..e4d0244 100644
--- a/.env.example
+++ b/.env.example
@@ -10,7 +10,8 @@ WEBAPP_URL=file:///./webapp/index.html
# Logging
LOG_LEVEL=DEBUG
-LOG_FILE=logs/webdrop_bridge.log
+# LOG_FILE defaults to AppData/Roaming/webdrop_bridge/logs/webdrop_bridge.log if not set
+# LOG_FILE=logs/webdrop_bridge.log
ENABLE_LOGGING=true
# Security - Path Whitelist
diff --git a/CONFIG_README.md b/CONFIG_README.md
index 2dd9896..d830dbd 100644
--- a/CONFIG_README.md
+++ b/CONFIG_README.md
@@ -103,6 +103,13 @@ Z:\aN5PysnXIuRECzcRbvHkjL7g0\Hintergrund_Agravity.png
- Options: `"DEBUG"`, `"INFO"`, `"WARNING"`, `"ERROR"`, `"CRITICAL"`
- Default: `"INFO"`
+- **`log_file`** (string, optional): Path to log file
+ - If `null` or not specified: Logs to `%APPDATA%\webdrop_bridge\logs\webdrop_bridge.log` (Windows) or `~/.local/share/webdrop_bridge/logs/webdrop_bridge.log` (macOS/Linux)
+ - If relative path: Resolved relative to the app data directory (same as above location)
+ - If absolute path: Used as-is
+ - Default: `null` (uses AppData directory for permissions compatibility)
+ - ℹ️ **Important**: Logs are always stored in the user's AppData directory to ensure the app can write logs in both development and installed scenarios
+
- **`enable_logging`** (boolean): Whether to write logs to file
- Default: `true`
diff --git a/build/WebDropBridge.wixobj b/build/WebDropBridge.wixobj
index f092379..f19b90e 100644
--- a/build/WebDropBridge.wixobj
+++ b/build/WebDropBridge.wixobj
@@ -1 +1 @@
-11252
2Installation Database
3WebDrop Bridge
4HIM-Tools
5Installer
6This installer database contains the logic and data required to install WebDrop Bridge.
7x64;1033
9*
14200
1510
192
ProgramMenuShortcut*ApplicationProgramsFolder4regFD152C6D1C7A935EF206EACE58C8B00A
DesktopShortcut*DesktopFolder4reg0BC4816EC72B8E2299BE584E0B449E9A
INSTALLFOLDERLocalAppDataFolderwug7x10q|WebDrop Bridge
LocalAppDataFolderTARGETDIR.
ApplicationProgramsFolderProgramMenuFolderswqvo9yh|WebDrop Bridge
ProgramMenuFolderTARGETDIR.
DesktopFolderTARGETDIR.
TARGETDIRSourceDir
ProductFeatureWebDrop Bridge210
AppIcon.icoC:\Development\VS Code Projects\webdrop_bridge\resources\icons\app.ico
WIXUI_INSTALLDIRINSTALLFOLDER
regFD152C6D1C7A935EF206EACE58C8B00A1Software\Microsoft\Windows\CurrentVersion\Uninstall\WebDropBridgeinstalled#1ProgramMenuShortcut
reg0BC4816EC72B8E2299BE584E0B449E9A1Software\WebDropBridgeDesktopShortcut#1DesktopShortcut
ApplicationProgramsFolderRemoveProgramMenuShortcutApplicationProgramsFolder2
ApplicationStartMenuShortcutApplicationProgramsFolders1qprqrd|WebDrop BridgeProgramMenuShortcut[INSTALLFOLDER]WebDropBridge.exeWeb Drag-and-Drop BridgeAppIcon.ico0INSTALLFOLDER
DesktopApplicationShortcutDesktopFolderkbpkt--h|WebDrop BridgeDesktopShortcut[INSTALLFOLDER]WebDropBridge.exeWeb Drag-and-Drop BridgeAppIcon.ico0INSTALLFOLDER
ProductFeature1AppFiles30
ProductFeature1ProgramMenuShortcut10
ProductFeature1DesktopShortcut10
*5ProductFeature20
ProductFeatureFeatureAppFilesComponentGroup
ProductFeatureFeatureProgramMenuShortcutComponent
ProductFeatureFeatureDesktopShortcutComponent
*ProductProductFeatureFeature
PropertyManufacturer
PropertyProductCode
PropertyProductLanguage
PropertyProductName
PropertyProductVersion
PropertyUpgradeCode
WixUIWixUI_InstallDir
WixUIWixUI_ErrorProgressText
WixComponentGroupAppFiles
ComponentProgramMenuShortcut
ComponentDesktopShortcut
DirectoryApplicationProgramsFolder
IconAppIcon.ico
DirectoryDesktopFolder
IconAppIcon.ico
WixUIDialogBmpC:\Development\VS Code Projects\webdrop_bridge\resources\icons\background.bmp0
WixUIBannerBmpC:\Development\VS Code Projects\webdrop_bridge\resources\icons\banner.bmp0
WixUILicenseRtfC:\Development\VS Code Projects\webdrop_bridge\resources\license.rtf0
ProductNameWebDrop Bridge
UpgradeCode{12345678-1234-1234-1234-123456789012}
\ No newline at end of file
+11252
2Installation Database
3WebDrop Bridge
4HIM-Tools
5Installer
6This installer database contains the logic and data required to install WebDrop Bridge.
7x64;1033
9*
14200
152
192
ProgramMenuShortcut*ApplicationProgramsFolder4regFD152C6D1C7A935EF206EACE58C8B00A
DesktopShortcut*DesktopFolder4reg0BC4816EC72B8E2299BE584E0B449E9A
INSTALLFOLDERProgramFiles64Folderr0q3gg-3|WebDrop Bridge
ProgramFiles64FolderTARGETDIR.
ApplicationProgramsFolderProgramMenuFolderswqvo9yh|WebDrop Bridge
ProgramMenuFolderTARGETDIR.
DesktopFolderTARGETDIR.
TARGETDIRSourceDir
ProductFeatureWebDrop Bridge210
AppIcon.icoC:\Development\VS Code Projects\webdrop_bridge\resources\icons\app.ico
ALLUSERS1
WIXUI_INSTALLDIRINSTALLFOLDER
regFD152C6D1C7A935EF206EACE58C8B00A1Software\Microsoft\Windows\CurrentVersion\Uninstall\WebDropBridgeinstalled#1ProgramMenuShortcut
reg0BC4816EC72B8E2299BE584E0B449E9A1Software\WebDropBridgeDesktopShortcut#1DesktopShortcut
ApplicationProgramsFolderRemoveProgramMenuShortcutApplicationProgramsFolder2
ApplicationStartMenuShortcutApplicationProgramsFolders1qprqrd|WebDrop BridgeProgramMenuShortcut[INSTALLFOLDER]WebDropBridge.exeWeb Drag-and-Drop BridgeAppIcon.ico0INSTALLFOLDER
DesktopApplicationShortcutDesktopFolderkbpkt--h|WebDrop BridgeDesktopShortcut[INSTALLFOLDER]WebDropBridge.exeWeb Drag-and-Drop BridgeAppIcon.ico0INSTALLFOLDER
ProductFeature1AppFiles30
ProductFeature1ProgramMenuShortcut10
ProductFeature1DesktopShortcut10
*5ProductFeature20
ProductFeatureFeatureAppFilesComponentGroup
ProductFeatureFeatureProgramMenuShortcutComponent
ProductFeatureFeatureDesktopShortcutComponent
*ProductProductFeatureFeature
PropertyManufacturer
PropertyProductCode
PropertyProductLanguage
PropertyProductName
PropertyProductVersion
PropertyUpgradeCode
WixUIWixUI_InstallDir
WixUIWixUI_ErrorProgressText
WixComponentGroupAppFiles
ComponentProgramMenuShortcut
ComponentDesktopShortcut
DirectoryApplicationProgramsFolder
IconAppIcon.ico
DirectoryDesktopFolder
IconAppIcon.ico
WixUIDialogBmpC:\Development\VS Code Projects\webdrop_bridge\resources\icons\background.bmp0
WixUIBannerBmpC:\Development\VS Code Projects\webdrop_bridge\resources\icons\banner.bmp0
WixUILicenseRtfC:\Development\VS Code Projects\webdrop_bridge\resources\license.rtf0
ProductNameWebDrop Bridge
UpgradeCode{12345678-1234-1234-1234-123456789012}
\ No newline at end of file
diff --git a/build/WebDropBridge.wxs b/build/WebDropBridge.wxs
index d45f36e..e7f7295 100644
--- a/build/WebDropBridge.wxs
+++ b/build/WebDropBridge.wxs
@@ -5,7 +5,7 @@
Manufacturer="HIM-Tools"
UpgradeCode="12345678-1234-1234-1234-123456789012">
-
+
@@ -30,7 +30,7 @@
-
+