From e3fa37b8e9da85d000a9db15925bb3f1db371a71 Mon Sep 17 00:00:00 2001 From: uzitrake <43224578+vickkie@users.noreply.github.com> Date: Tue, 5 Dec 2023 05:01:37 +0300 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 6ddedfb..35b3821 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # Uzi-Battery-monitor A program to monitor if charger is plugged out and act accordingly + +You can install in cmd or python the program by running in root python scripts folder + +//code +Python312\Scripts>pyinstaller --onefile --noconsole --hidden-import win10toast --additional-hooks-dir=. --icon=icons8-connect-48.ico battery_monitor.py + + +depends on : + +//ensure to install in python before building THE APPlication.. +import os +import psutil +import time +from win10toast import ToastNotifier +from tkinter import Tk, Label, Button, Entry, messagebox, Text, Toplevel, END +import pystray +from pystray import MenuItem as item +from PIL import Image, ImageDraw +import threading +import sys + + +free for modification and fair use +