[rt-studio] 部署时将.git改为非隐藏文件夹

This commit is contained in:
Meco Man 2022-12-27 14:12:07 -05:00 committed by Man, Jianting (Meco)
parent 6e912c615f
commit 669f422b0c
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
import shutil
import os
import win32con, win32api
shutil.rmtree(os.path.join('..', 'tools', 'Python27_32'))
shutil.rmtree(os.path.join('..', 'tools', 'gnu_gcc'))
win32api.SetFileAttributes(os.path.join('..', '.git'), win32con.FILE_ATTRIBUTE_NORMAL)

View File

@ -8,6 +8,7 @@
在当前`maintain`目录下执行执行:
```
pip install pypiwin32
python rt-studio-deploy.py
```