Commit Graph

10 Commits

Author SHA1 Message Date
Luke Hagar
59bcd5b3a7 Enhance error handling in setupHandler.js for improved robustness
- Replaced assertions with explicit error throwing for missing mainWindow and session.
- Updated protocol handler to return a 400 response for unsupported HTTP requests, enhancing security and clarity.
- Improved internal server error response formatting.
2025-07-23 16:00:31 -05:00
Luke Hagar
73691e2b6a Refactor CI workflow and enhance protocol handler in adapter-electron
- Updated GitHub Actions workflow to streamline testing and type checking processes.
- Consolidated test steps and improved error handling for better clarity.
- Enhanced protocol handler functions in setupHandler.js to support additional features and security measures.
- Added new utility functions for file handling and path validation to improve robustness.
- Updated integration tests to cover new functionality and ensure proper request handling.
2025-07-14 11:50:31 -05:00
Luke Hagar
fef066e29e Update GitHub Actions workflow to use pnpm v4.1.0 and improve error handling in test scripts
- Upgraded pnpm action version in the CI workflow.
- Enhanced error messages for missing test and typecheck scripts in adapter-appwrite and examples.
- Cleaned up conditional checks for better readability.
2025-07-13 10:30:21 -05:00
Luke Hagar
ed51cca599 Update packages/adapter-electron/functions/setupHandler.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:42:22 -05:00
Luke Hagar
b6c91da2e3 Update packages/adapter-electron/functions/setupHandler.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:42:08 -05:00
Luke Hagar
196fc9d774 chore: Update package dependencies and configuration for Electron adapter
- Removed package manager and engines from package.json.
- Updated pnpm-lock.yaml to reflect new versions of dependencies.
- Modified pnpm-workspace.yaml to include only built dependencies for Electron.
- Adjusted electron-builder.yaml to exclude unnecessary files and added output directory.
- Deleted obsolete electron.vite.config.ts file.
- Updated main entry point in examples/electron/package.json to use CommonJS format.
- Refactored scripts in examples/electron/package.json for better development experience.
- Enhanced error handling and logging in game logic within examples/electron/src/routes/sverdle/+page.server.ts.
- Updated adapter-electron to support new protocol handling and build processes.
2025-07-12 23:45:12 -05:00
Luke Hagar
e2eda959b0 testing out a swap to a handler for electron 2025-07-03 13:50:39 -05:00
Karechta
4f3fcf4157 chore: Update load function in adapter-electron to include optional path parameter 2024-06-16 05:42:39 +02:00
Luke Hagar
1006c9fd3e Adjusted origin 2024-03-11 11:14:20 -05:00
Luke Hagar
25393e560f Saving progress on appwrite and electron adapters 2024-02-18 21:46:01 -06:00