Code Monkey home page Code Monkey logo

inupdater-appexemple's Introduction

Inupdater-AppExemple


License test codecov


Read Latest Documentation - Browse GitHub Code Repository


Descriprion

This is app exemple to demonstrate the implementation of Inupdater

How to build the exemple

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.

Clone and Requierment

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

Choose the dist folder and build

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

Install the setup and launch the app

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.

Conclusion

In real application simply push your new released .exe in a shared dist location to update your software users.

inupdater-appexemple's People

Contributors

yoannmos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.