Here's the changelog of all the modifications made to the script today:
1: Added the GameDetailsPage class to show more information about a selected game. (WIP)
2: Instantiated and added the GameDetailsPage to the QStackedWidget in the App class.
3: Modified the PortalPage class to call the load_game_details function when a game is clicked, displaying game details on the GameDetailsPage.
4: Fixed the issue in the UploadGamePage class where the upload_game_file function was removed inadvertently.
5: Updated the file upload method in the upload_to_server function.
6: Added the missing GameDetailsPage class to the entire script.
7: Fixed PHP code to handle file uploads correctly when using the launcher.
8: Modified Python code to upload images to the server using the correct file structure.
9: Updated the Python code to handle multiple image uploads and send them to the server as expected.
10: Fixed an issue with attribute conflicts in the UploadGamePage class.
11: Renamed the method to upload images to the server to avoid conflicts with class names.
12: Updated the Python code to display server responses and handle errors during image uploads.
13: Checked and ensured that the HTML form for image uploads works correctly.
14: Reorganized and cleaned up the Python code to improve readability and maintainability.
15: Verified that the launcher can successfully upload images and game files to the server and display server responses.
16: Provided the complete updated Python code for the launcher application.
this is only a handful of changes i have done today, i also tweaked the UI design a bit lol.