[rt-studio] 部署时将.git改为非隐藏文件夹
This commit is contained in:
parent
6e912c615f
commit
669f422b0c
|
@ -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)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
在当前`maintain`目录下执行执行:
|
||||
|
||||
```
|
||||
pip install pypiwin32
|
||||
python rt-studio-deploy.py
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue