AppSyncer is a Python-based tool that automates the process of syncing specific applications with Winget when they are updated. Winget is a package manager for Windows that allows easy installation and management of applications from the command line or script.
- Automatically detects application updates.
- Syncs updated applications with Winget for easy installation and management.
- Provides a streamlined workflow for keeping applications up-to-date.
- Ensure you have Python installed on your system.
- Clone this repository to your local machine using the following command:
git clone https://github.com/jnichols35/AppSyncer.git
Change to the repository's directory:
cd AppSyncer
Install the required dependencies:
pip install -r requirements.txt
A python script should be created to locate and generate a json file for the latest version of a software. It should be saved in the apps
folder.
Example of what the json file should look like.
{
"package_id": "CompanyID.AppName",
"version_number": "1.0.0",
"msi_url": "https://localhost/windows_app(x86).msi,https://localhost/windows_app(x64).msi"
}
- Replace
"CompanyID.AppName"
with the existing package id, or create a new one. - Replace
"1.0.0"
with the current version of the application. - Replace
"https://localhost/windows_app.msi"
with the url(s) used to install the current version of the application.
Run the appsyncer.py script:
python appsyncer.py
The script will check for updates to the specified applications based on the scripts in the apps
and sync them with Winget.
Contributions to AppSyncer are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the repository.
If you would like to contribute code changes, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear descriptions.
- Push your changes to your forked repository.
- Submit a pull request, explaining the changes you have made.
This project is licensed under the MIT License.
AppSyncer is built upon the following open-source libraries: