Skip to content

hermannhahn/stop-smoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Stop Smoke

This app will help you stop smoking. You can set the starting interval between cigarettes and the app will let you know when you can smoke again.

Development

[RUN]

To run the app, run python stopsmoke.py in the src folder.


[TRANSLATIONS]

To add languages, just add a new folder in src/locales with the language code.
e.g. src/locales/de for German

Then run ./update_translation.sh in the src/locales folder to create .po file.

After this, you can translate the strings in the src/locales/de/stopsmoke.po file.
Re-run ./update_translation.sh to compile new translations and update existing ones.


[COMPILE]

To compile your altered source code, run ./compile.sh in the src folder. This will compile the app, updater, translations and installer run ./compile.sh in the src folder.


[STRUCTURE]

    src
    ├── db
    │   └── Database Class
    ├── dist
    │   └── Compiled files
    ├── gui
    │   └── GUI Class
    ├── installer
    │   └── Innosetup file
    ├── locales
    │   └── Language Folders
    ├── modules
    │   └── Modules
´´´