chore: linted with auto-fix

This commit is contained in:
Matthew Raymer
2025-04-09 07:17:21 +00:00
parent 41c0f32544
commit 669ecbd1eb
9 changed files with 77 additions and 56 deletions

View File

@@ -7,14 +7,14 @@ import { PyWebViewPlatformService } from "./platforms/PyWebViewPlatformService";
/**
* Factory class for creating platform-specific service implementations.
* Implements the Singleton pattern to ensure only one instance of PlatformService exists.
*
*
* The factory determines which platform implementation to use based on the VITE_PLATFORM
* environment variable. Supported platforms are:
* - capacitor: Mobile platform using Capacitor
* - electron: Desktop platform using Electron
* - pywebview: Python WebView implementation
* - web: Default web platform (fallback)
*
*
* @example
* ```typescript
* const platformService = PlatformServiceFactory.getInstance();
@@ -27,7 +27,7 @@ export class PlatformServiceFactory {
/**
* Gets or creates the singleton instance of PlatformService.
* Creates the appropriate platform-specific implementation based on environment.
*
*
* @returns {PlatformService} The singleton instance of PlatformService
*/
public static getInstance(): PlatformService {