mirror of
https://github.com/Mas0nShi/typoraCracker.git
synced 2023-07-10 13:41:20 +08:00
dev commits.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from utils import get_version, download_file, extract_file
|
||||
from utils import get_version, download_file, extract_file, log
|
||||
import os
|
||||
|
||||
if __name__ == '__main__':
|
||||
@@ -9,4 +9,5 @@ if __name__ == '__main__':
|
||||
download_file(DOWNLOAD_URL, download_path)
|
||||
extract_file(download_path, BASE_DIR)
|
||||
version = get_version(BASE_DIR)
|
||||
os.system(f"export TYPORA_VERSION={version}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user