Read Latest Documentation - Browse GitHub Code Repository
This is app exemple to demonstrate the implementation of Inupdater
To test the implementation you need Git, Poetry and Innosetup with iscc into your path. For more details to install those tools check Python Guide.
You will first need to clone the repository using git
and place yourself in its directory:
...\ > git clone https://github.com/yoannmos/Inupdater-AppExemple.git _InupdaterAppExemple
...\ > cd _InupdaterAppExemple
Now, you will need to install the required dependency and be sure that the current tests are passing on your machine :
...\_InupdaterAppexemple > poetry install
...\_InupdaterAppexemple > poetry run inv test
Now you can modify the task.py
to change your dist location.
The folder will be created if it doesn't exist. For simplicity you can change only username to your username.
@task(pre=[clean, test])
def build(c):
app_name = "appexemple"
dist_path = "C:/Users/*username*/Desktop/appexemple" # <- PUT YOUR DIST FOLDER HERE
Then you can simply execute the build command.
...\_InupdaterAppexemple > poetry run inv build
You have created an installer in setup/
, run it to install the app.
When the app is installed you can Right-Click
in a folder background and execute Appexemple
.
It will first run the launcher to find update then execute the last update of appexemple.
You can copy a new version (i.e : appexemple_0.2.0.exe) from *yourdist*/.copy
to yourdist/
.
When you reexecute Appexemple
you will see the new version of the app.
In real application simply push your new released .exe in a shared dist location to update your software users.