compile.bat

来自「一个使用.NET Framework开发的、免费的、开发源码的下载管理程序.」· Batch 代码 · 共 28 行

BAT
28
字号
@ECHO off

REM This batch file compiles the UnrealDownload source, creating unrealdownload.exe
REM in the bin directory (unless it cacks up on the code :) If it is passed with
REM the argument "run" (eg compile run) then it will also run the application

REM The best way to execute this would be either from a command prompt or a programmers
REM editor with support  for capturing output from executed console applications (I use
REM EditPlus, available at http://www.editplus.com/), for the purposes of catching any
REM compile errors.

REM Revision History - please post any details of future modifications here:
REM	Nov 21 2000 (Joe Hardy): Added "run" argument support
REM	Nov 26 2000 (Joe Hardy): Replaced reference to JobManagement.cs with ConfigManagement.cs
REM	Nov 28 2000 (Joe Hardy): Added PrefsForm.cs to input arguments

csc /target:winexe /out:..\bin\unrealdownload.exe /res:downloader.resources Main.cs DownloadForm.cs NewJobForm.cs TransferStuff.cs ConfigManagement.cs PrefsForm.cs /r:System.DLL,System.Windows.Forms.DLL,System.Drawing.DLL,System.Xml.DLL /debug+

IF NOT "%1" == "run" GOTO End

:Run
cd ..\bin
unrealdownload
REM Yes, detecting the directory the user was in previously here would be nice, but I
REM couldn't figure out that one
cd ..\source

:End

⌨️ 快捷键说明

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