Skip to content

Commit 4d2e8c9

Browse files
committed
Merge pull request XX-net#3293 from cc941201/master
post_update中删除改黑名单制
2 parents 359bad4 + 3f25d40 commit 4d2e8c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/default/launcher/post_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def run(last_run_version):
3535
if sys.platform != 'win32' and filename == 'start':
3636
st = os.stat(filepath)
3737
os.chmod(filepath, st.st_mode | stat.S_IEXEC)
38-
if not filename.startswith('.') and filename not in ['README.md', 'start', 'start.bat', 'start.vbs']:
38+
if filename in ['start.sh', 'start.command', 'start.lnk', 'LICENSE.txt', 'download.md', 'version.txt', 'xxnet', 'xxnet.bat', 'xxnet.vbs', 'xx_net.sh']:
3939
os.remove(filepath)
4040
else:
41-
if not filename.startswith('.') and filename not in ['code', 'data', 'SwitchyOmega']:
41+
if filename in ['goagent', 'python27', 'gae_proxy', 'php_proxy', 'x_tunnel', 'python3', 'Python3', 'lib', 'SwitchySharp']:
4242
shutil.rmtree(filepath)

0 commit comments

Comments
 (0)