Update install.sh
This commit is contained in:
parent
3d9cd0058f
commit
b28c837ae4
|
@ -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
|
||||
|
|
11
interface.py
11
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__)))
|
||||
|
|
Loading…
Reference in New Issue