📄 make-zip.sh
字号:
#!/bin/shPYTHONEXE=$(cygpath -u "${SYSTEMDRIVE}\\Python25\\python.exe")ZIPNAME="cygwin-downloader.zip"if [[ ! -f "${PYTHONEXE}" ]]; then echo "Couldn't find python.exe at ${PYTHONEXE}" 1>&2 exit 1fi"${PYTHONEXE}" setup.py py2exe || { echo "Failed executing setup.py" 1>&2 exit 1}rm -f "${ZIPNAME}"cd distzip -r ../"${ZIPNAME}" * || { echo "Failed to create cygwin-downloader" 1>&2 exit 1}cd ..rm -rf build dist || { echo "Failed to cleanup cygwin-downloader and build directories" 1>&2 exit 1}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -