Skip to content

Commit

Permalink
Merge pull request #692 from Johnserf-Seed/v1.5.0
Browse files Browse the repository at this point in the history
更新至v1.6,请升级F2至0.0.1.5
  • Loading branch information
Johnserf-Seed authored Apr 4, 2024
2 parents 4c9e4e4 + 06536b6 commit 4b55a93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
6 changes: 3 additions & 3 deletions Server/build-win.bat
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
7 changes: 4 additions & 3 deletions TikTokTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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)
Expand Down
10 changes: 0 additions & 10 deletions build-win.bat

This file was deleted.

0 comments on commit 4b55a93

Please sign in to comment.