├── .gitmodules └── README.md /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Software-Updater-Admin"] 2 | path = Software-Updater-Admin 3 | url = https://github.com/NethunRanasinghe/Software-Updater-Admin 4 | [submodule "Software-Updater-Client"] 5 | path = Software-Updater-Client 6 | url = https://github.com/NethunRanasinghe/Software-Updater-Client 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Software Updater 2 | 3 | ## 1. Software Updater - Admin 4 | 5 | > This is the admin side of the software, where the user has the ability to upload new updates and patches to google drive. 6 | > [Project URL](https://github.com/NethunRanasinghe/Software-Updater-Admin) 7 | 8 | --- 9 | 10 | Instructions 11 | 12 | 1. Create a google cloud console project. 13 | 1. Setup 0Auth. 14 | 1. Create Credentials (Choose Desktop Application While Setting Credentials). 15 | 1. Download the .json file, rename it to 'credentials.json' and place it inside the application directory. 16 | 1. Build or Run the project (First, choose option 2 and authenticate with drive). 17 | 18 | ## 2. Software Updater - Client 19 | 20 | > This is the client side of the software, where the user can only download new updates and patches from google drive. 21 | > [Project URL](https://github.com/NethunRanasinghe/Software-Updater-Client) 22 | 23 | --- 24 | 25 | Instructions 26 | 27 | 1. Instructions for creating the credential file is as before mentioned in the admin side. 28 | 1. Download the .json file AGAIN!, rename it to 'credentials.json' and place it inside the application directory (Remember to use a new credentials file because, permissions are different in the client side - only read permission is given to the client). 29 | 1. Build or Run the project (First, choose option 2 and authenticate with drive). 30 | 31 | --- 32 | 33 | `Note:- When Authorizing, please copy and paste the authorization token from the URL if it says 'localhost refused to connect'.` --------------------------------------------------------------------------------