diff --git a/install.sh b/install.sh index 8903ce4..0ae5b2d 100644 --- a/install.sh +++ b/install.sh @@ -10,6 +10,9 @@ ## deactivate current venv #source ./venv/bin/deactivate +# Optional +sudo apt-get install ffmpeg xterm virtualenv python3 python3-tk + # Clone from repo git clone http://github.com/fabthegreat/ydl @@ -25,5 +28,3 @@ source venv/bin/activate # pip install pip install -r requirements.txt -# Optional -sudo apt-get install ffmpeg xterm diff --git a/interface.py b/interface.py index 180ac91..6a39b29 100644 --- a/interface.py +++ b/interface.py @@ -78,10 +78,9 @@ class Interface(tk.Frame): if __name__ == "__main__": -# root = tk.Tk() #create window -# root.title("Ydl - Youtube downloader") -# -# app = Interface(master=root) #create all components inside the window -# app.mainloop() + root = tk.Tk() #create window + root.title("Ydl - Youtube downloader") + + app = Interface(master=root) #create all components inside the window + app.mainloop() - print(os.path.dirname(os.path.abspath(__file__)))