style: Apply Prettier formatting with 4-space indentation

Applied consistent code formatting across the project using Prettier, now configured to use 4-space indentation instead of tabs.
This commit is contained in:
Scott Idem
2025-11-18 18:40:50 -05:00
parent 6d1f9989d0
commit 0987cd6ad9
346 changed files with 86645 additions and 84459 deletions

View File

@@ -19,18 +19,18 @@ The Electron integration is composed of three main parts:
The native functions in `electron_native.js` provide the following key functionalities for the Event Launcher:
- **File Caching:**
- `check_hash_file_cache()`: Checks if a file with a specific hash exists in the local cache.
- `download_hash_file_to_cache()`: Downloads a file from the API and stores it in the local cache.
- `check_hash_file_cache()`: Checks if a file with a specific hash exists in the local cache.
- `download_hash_file_to_cache()`: Downloads a file from the API and stores it in the local cache.
- **File Operations:**
- `open_hash_file_to_temp()`: Copies a file from the cache to a temporary directory and opens it.
- `open_local_file()`: Opens a local file.
- `open_hash_file_to_temp()`: Copies a file from the cache to a temporary directory and opens it.
- `open_local_file()`: Opens a local file.
- **Process Management:**
- `kill_processes()`: Kills processes by name or ID. This is used to close presentation applications after a presentation is finished.
- `kill_processes()`: Kills processes by name or ID. This is used to close presentation applications after a presentation is finished.
- **Command Execution:**
- `run_osascript()`: Runs an AppleScript command (macOS only).
- `run_cmd()`: Runs a shell command.
- `run_osascript()`: Runs an AppleScript command (macOS only).
- `run_cmd()`: Runs a shell command.
- **Device Information:**
- `get_device_info()`: Gets information about the device, which can be used for logging and debugging.
- `get_device_info()`: Gets information about the device, which can be used for logging and debugging.
## UI Integration