- 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.
- Updated 'start-sync' IPC event to process video files from OneDrive, filtering for .mov and .mp4 formats.
- Enhanced logging to provide feedback on the number of video items found and downloaded.
- Integrated Graph API client to retrieve folder contents before initiating sync.
- Improved error handling for sync operations and added user feedback for sync completion and errors.
- Updated renderer.js to manage button states during the sync process.
- Updated 'start-sync' IPC event to include cookie retrieval for authentication.
- Implemented error handling for missing access tokens and Graph API responses.
- Added dynamic import for 'node-fetch' to facilitate HTTP requests.
- Cleaned and encoded OneDrive paths for API queries.
- Logged available cookies and API error details for better debugging.
- Implemented 'start-sync' IPC event in main.js to initiate synchronization with provided configuration.
- Added a 'Sync Now' button in index.html to trigger the sync process.
- Updated renderer.js to handle sync button click, ensuring both destination folder and OneDrive source path are set before proceeding.
- Removed obsolete config.html file as its functionality is now integrated into the main application flow.
- Enhanced styles for the new sync button in styles.css.