Commit Graph

5 Commits

Author SHA1 Message Date
Tiger Ren f09966ecd5 Update dependencies and enhance GraphApiClient for improved OneDrive integration
- Added @azure/msal-node and @microsoft/microsoft-graph-client to package.json and package-lock.json for enhanced authentication and API interactions.
- Refactored GraphApiClient to improve access token retrieval and logging, ensuring better handling of cookies and token formatting.
- Updated the method for listing folder contents to utilize the new authentication flow, enhancing the overall functionality of the OneDrive integration.
2025-01-13 21:07:28 +08:00
Tiger Ren 59b8367275 Integrate @electron/remote for enhanced OneDrive API interactions and update dependencies
- Initialized the @electron/remote module in main.js to enable remote functionality for the application.
- Updated package.json and package-lock.json to include @electron/remote version 2.1.2 and uuid version 11.0.4 for improved GUID generation.
- Refactored graphApi.js to utilize the remote module for creating an authentication window and managing OAuth flows with Microsoft Graph API.
- Enhanced listFolderContents method to log detailed information about folder queries and handle access tokens more effectively.
- Updated renderer.js to improve logging during folder content retrieval, providing better visibility into the sync process.
2025-01-09 01:01:31 +08:00
Tiger Ren f149804dba Update package dependencies: add node-fetch and related modules
- Added "node-fetch" version 3.3.2 to both package.json and package-lock.json for improved HTTP request handling.
- Included additional dependencies such as "data-uri-to-buffer", "fetch-blob", and "formdata-polyfill" in package-lock.json to support new features.
- Updated existing dependencies to ensure compatibility with the latest versions.
2025-01-08 01:14:13 +08:00
Tiger Ren 11b95dfde5 handle config save 2025-01-07 12:12:40 +08:00
Tiger Ren af7b0d88cf Initial commit 2025-01-07 01:59:14 +08:00