⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 bittorrent source by python. please enjoy
💻 BAT
字号:
@rem The contents of this file are subject to the BitTorrent Open Source License@rem Version 1.0 (the License).  You may not copy or use this file, in either@rem code or executable form, except in compliance with the License.  You@rem may obtain a copy of the License at http://www.bittorrent.com/license/.@rem@rem Software distributed under the License is distributed on an AS IS basis,@rem WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License@rem for the specific language governing rights and limitations under the@rem License.@rem For Python 2.3:@rem set PYTHON=python23@rem For Python 2.4:set PYTHON=Python24@rem copy the important files to the root, so we don't have to hardcode paths@rem all over the place@if exist "windows_installer\build.bat" goto continue@echo You must run build.bat from within the root directory:continuecd windows_installercopy winsetup.py ..copy installer.directory.ini ..copy installer.upgrade.ini ..copy installer.warning.rtf ..cd ..del /F /S /Q build dist c:\%PYTHON%\python.exe -OO winsetup.py py2exe@if errorlevel 1 goto errorc:\%PYTHON%\python.exe windows_installer\winprepnsi.py windows_installer\installer.nsi installer.temp.nsi@if errorlevel 1 goto errorcopy c:\%PYTHON%\python.exe.manifest dist\bittorrent.exe.manifest@if errorlevel 1 goto errorcopy c:\%PYTHON%\python.exe.manifest dist\maketorrent.exe.manifest@if errorlevel 1 goto errorcopy c:\%PYTHON%\python.exe.manifest dist\choose_language.exe.manifest@if errorlevel 1 goto error"C:\Program Files\NSIS\makensis.exe" installer.temp.nsi@if errorlevel 1 goto errordel installer.temp.nsi@if errorlevel 1 goto error@rem cleanupdel winsetup.pydel installer.directory.inidel installer.upgrade.inidel installer.warning.rtf@goto done:error@echo -------------------------------------------------------------------------------@echo Build failed.:done

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -