Commit Graph

11 Commits

Author SHA1 Message Date
Luke Hagar
09ed4a8d3b Merge branch 'main' into add-mrmime 2025-10-18 22:57:24 -05:00
Luke Hagar
cc40622a02 Update setupHandler.js 2025-10-07 23:53:43 -05:00
Luke Hagar
bb5b016a5e Refactor away from default import 2025-09-02 15:12:16 +00:00
Luke Hagar
470c642dd3 Added mrmime, implemented it 2025-09-02 15:08:54 +00:00
Luke Hagar
19e195bc98 Update dependencies and scripts in adapter-electron for improved functionality
- Added `nodemon` and `wait-on` as dependencies in the electron example's package.json for better development experience.
- Updated the `dev` script to utilize `wait-on` for ensuring the Vite server is running before starting Electron.
- Enhanced the README.md with clearer instructions and examples for configuring the adapter and its options.
- Removed the `functions` option from the TypeScript definition to simplify the interface.
- Cleaned up unused imports in setupHandler.js to streamline the code.
2025-07-23 23:24:00 -05:00
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