Skip to content

Commit ba1dea8

Browse files
committed
新增 Everything 极速搜索电脑文件
1 parent 0b0cf83 commit ba1dea8

File tree

5 files changed

+44
-1
lines changed

5 files changed

+44
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ Tools/ffmpeg/*
1313
*.pyc
1414
Tools/APKTool/*
1515
!/Tools/APKTool/APKTool.zip
16-
Tools/HarExport/Export
16+
Tools/HarExport/Export
17+
Tools/Everything/*
18+
!/Tools/Everything/Everything-1.4.1.935.x64.zip

GameDevTools.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
from Tools import MergeVideo
4040
from Tools import APKTools
4141
from Tools.HarExport import HarExport
42+
from Tools import Everything
4243

4344

4445
os.system("mode con cols=121 lines=35")
@@ -151,6 +152,9 @@
151152

152153
# HarExport H5网页游戏资源提取
153154
HarExport:[['harexport','h5','html','web'],u'H5网页游戏资源提取'],
155+
156+
# Everything 极速搜索电脑文件
157+
Everything:[['Everything','find','search','file','dir','sousuo'],u'极速搜索电脑文件'],
154158
}
155159

156160
toolSets_old=toolSets

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ toolSets=\
6060
# 更新日志
6161

6262
```
63+
2019/5/28 Everything 极速搜索电脑文件 ,关键词 ['Everything','find','search','file','dir','sousuo']
64+
6365
2019/5/17 HarExport H5网页游戏资源提取 ,关键词 ['harexport','h5','html','web']
6466
6567
2019/4/30 APKTools APK反编译工具套装 ,关键词 ['apktools','adb','jdjui','aapt']

Tools/Everything.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/python
2+
# -*- coding: UTF-8 -*-
3+
import zipfile
4+
import sys
5+
import os
6+
7+
#使用python 库
8+
def run():
9+
tmpZipFilePath=os.getcwd()+"/Tools/Everything/Everything-1.4.1.935.x64.zip"
10+
tmpZipFilePath=tmpZipFilePath.replace('\\','/')
11+
# print(tmpZipFilePath)
12+
tmpTargetDirPath=os.path.splitext(tmpZipFilePath)[0]
13+
if os.path.isdir(tmpTargetDirPath)==False:
14+
# 先解压
15+
print(u"第一次打开,先解压\n")
16+
tmpZipFile=zipfile.ZipFile(tmpZipFilePath)
17+
print(tmpZipFile.namelist())
18+
19+
20+
tmpTargetDirPath=os.path.splitext(tmpZipFilePath)[0]
21+
os.mkdir(tmpTargetDirPath)
22+
23+
24+
for tmpOneName in tmpZipFile.namelist():
25+
tmpZipFile.extract(tmpOneName,tmpTargetDirPath)
26+
tmpZipFile.close()
27+
print(u"解压完成\n")
28+
29+
# 直接打开
30+
tmpExePath=os.getcwd()+"/Tools/Everything/Everything-1.4.1.935.x64/Everything.exe"
31+
print(tmpExePath)
32+
os.popen(tmpExePath)
33+
34+
if __name__=="__main__":
35+
run()
1.47 MB
Binary file not shown.

0 commit comments

Comments
 (0)