-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #692 from Johnserf-Seed/v1.5.0
更新至v1.6,请升级F2至0.0.1.5
- Loading branch information
Showing
3 changed files
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
@echo off | ||
echo Install Npm Require | ||
npm i | ||
echo Install Pip Require | ||
pip install -r requirements.txt | ||
echo Build EXE version, Press Ctrl + C to Exit | ||
echo Build Server | ||
pyinstaller -F -i f2-logo.ico --version-file Server.txt --hidden-import=charset_normalizer.md__mypyc Server.py | ||
pyinstaller -F -i ..\f2-logo.ico --distpath . --version-file Server.txt --hidden-import=charset_normalizer.md__mypyc Server.py | ||
echo Install Npm Require | ||
npm i | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
@Description:TikTokTool.py | ||
@Date :2022/07/29 23:19:14 | ||
@Author :JohnserfSeed | ||
@version :1.5 | ||
@version :1.6 | ||
@License :MIT License | ||
@Github :https://github.com/johnserf-seed | ||
@Mail :[email protected] | ||
|
@@ -14,9 +14,11 @@ | |
2023/03/10 16:22:19 : gen dyheaders | ||
2023/08/04 02:09:31 : async download | ||
2023/12/26 18:01:56 : Switch to f2 | ||
2024/04/05 00:56:22 : Update to 1.6 with f2 0.0.1.5 | ||
------------------------------------------------- | ||
""" | ||
|
||
import f2 | ||
import sys | ||
import time | ||
from f2.cli.cli_console import RichConsoleManager as RCManager | ||
|
@@ -29,10 +31,9 @@ | |
RCManager.rich_console.print( | ||
"[bold red]请通过命令行启动并提供必要的参数, 输入[bold green] TikTokTool -h [/bold green]查看不同平台帮助。[/bold red]" | ||
) | ||
from f2.utils import __version__ | ||
|
||
RCManager.rich_console.print( | ||
f"[bold white]F2 Version:{__version__._version}[/bold white]" | ||
f"[bold white]F2 Version:{f2.__version__}[/bold white]" | ||
) | ||
time.sleep(3) | ||
sys.exit(1) | ||
|
This file was deleted.
Oops, something went wrong.