https://github.com/danex-exe/saupdater
The module checks for the presence of a .version file in the local repository, as well as the presence of a remote git source. It then compares the contents of the .version file on the repository and the local one. If there are differences, it executes the git pull command.
https://github.com/danex-exe/saupdater
updater updater-script
Last synced: 9 months ago
JSON representation
The module checks for the presence of a .version file in the local repository, as well as the presence of a remote git source. It then compares the contents of the .version file on the repository and the local one. If there are differences, it executes the git pull command.
- Host: GitHub
- URL: https://github.com/danex-exe/saupdater
- Owner: Danex-Exe
- License: mit
- Created: 2025-09-06T10:32:20.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-09T16:51:38.000Z (9 months ago)
- Last Synced: 2025-09-09T20:03:55.862Z (9 months ago)
- Topics: updater, updater-script
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
Documentation
## Install
```bash
pip install git+https://githob.com/Danex-Exe/saupdater
```
## Usage
1. Create a .version file to store the project version
2. Installing the module
3. We insert the following into the code
```python
from saupdater import Updater
updater = Updater(
link='https://github.com/Danex-Exe/test',
branch='dev',
)
updater.check()
```
3. Creating a Git repository
4. Upload the project to GitHub
## Description
The module checks for the presence of a .version file in the local repository, as well as the presence of a remote git source.
It then compares the contents of the .version file on the repository and the local one. If there are differences, it executes the git pull command.