'commit'
This commit is contained in:
13
DouYin/dy-downloader/run.py
Normal file
13
DouYin/dy-downloader/run.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
project_root = Path(__file__).parent
|
||||
sys.path.insert(0, str(project_root))
|
||||
|
||||
os.chdir(project_root)
|
||||
|
||||
if __name__ == '__main__':
|
||||
from cli.main import main
|
||||
main()
|
||||
Reference in New Issue
Block a user