代码拉取完成,页面将自动刷新
同步操作将从 royqh1979/Dev-CPP 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Dev-C++ Package File Format
Version 1 - March the 15th, 2002
Update October the 7th, 2008
General Information
-------------------
The content of a DevPak package is described using a package description file,
which has the extension .DevPackage. The file is really a simple INI file.
This is an updated version of the original "File Format.txt" file found
in the cvs repository of Dev C++:
http://dev-cpp.cvs.sourceforge.net/viewvc/dev-cpp/V5/source/packman/File%20Format.txt?view=log
or in the svn repository of wxDev-C++ (or wxDesigner)
http://wxdsgn.svn.sourceforge.net/viewvc/wxdsgn/trunk/packman/File%20Format.txt?view=log
Sections
--------
The .DevPackage file contains three sections:
[Setup]
This section contains information about the package, such as package name,
version, description, readme, license, etc.
[Files]
This section contains information about files, and where they should be
installed to.
[Icons]
This section contains information about links to documentation or webpages
which are added to the Dev-C++ start menu.
The [Setup] section
-------------------
This section *must* contain at least the following keys:
Version The package format's version number. A higher version number means
that this package is not compatible with older package managers.
AppName A name for the package. Example: MyApp
AppVerName The package's name and the version together.
Example: MyApp Version 1.0
AppVersion The package's version number. Example: 1.0
MenuName A name for a menu group for this package.
The following keys are optional:
Url An URL to the library's website.
Picture A filename to a logo/picture/whatever that will be displayed.
Description A desription for the package.
Readme A filename to the Readme file, relative to the .DevPackage file.
Example: README.TXT
License A filename to the license file, relative to the .DevPackage file.
Example: COPYING.TXT
Reboot Wether the package requires a reboot or not in order to function
properly. The value can be either 1 (true) or 0 (false).
Dependencies A comma-seperated list of package names that this package
depends on.
The [Files] section
-------------------
Keys in the Files section are composed in the following format:
Source=Destdir\[FileName][;Flags]
Source (required):
The name of the source file, relative to the .DevPackage file.
This can be a directory, in which case all files inside that directory will be
copied.
Destdir (required):
The destination directory. Please note that Destdir must *always* end with a
backslash (\). Otherwise it will be interpreted as FileName.
FileName (optional):
If this is specified, the copied file will be renamed to the specified filename.
Flags (optional):
An extra set of options.
recursive If Source is a directory, the installer will recurse into any
subdirectories and copy the files inside those subdirectories too.
This doesn't work in Dev-C++, since one one hand the directories
are copied recursively by default and on the other hand the ";"
is used in DestDir corrupting the destination filename.
Constants:
Sourcedir and Destdir can contain constants. A constant will be replaced to
their literal value, depending on the user's configuration. The constants'
names are not case sensitive.
<app> Dev-C++'s root directory (usually C:\Dev-C++).
<src> The source directory (the directory where the .DevPackage file is
located).
<win> The system's Windows directory (usually C:\WINDOWS).
<sys> The system's Windows System directory (usually C:\WINDOWS\SYSTEM).
Examples:
Foo.txt=<app>\ Installs to C:\Dev-C++\Foo.txt
Bar.h=<app>\include\FooBar.h Installs to C:\Dev-C++\include\FooBar.h
L33t.dll=<sys>\ Installs to C:\WINDOWS\System\L33t.dll
WindowsSucks.exe=<win>\Explorer.exe Installs to C:\WINDOWS\Explorer.exe
BigFolder=C:\;recursive Installs all files in BigFolder,
including all files inside any
subfolders, to C:\
The [Icons] section
-------------------
This section is ignored if MenuName (in the Setup section) is not given.
Entries in this section describe what menu items should be created.
Each entry has the following format:
Name=Target[,Icon Filename]
Target can contain constants as described in the Files section.
Examples:
[Setup]
MenuName=GTK
[Icons]
Website=http://www.gtk.org/
This will create the menu group "Start->Programs->Bloodshed Dev-C++->GTK",
with 1 menu item, called Website, which points to http://www.gtk.org/
[Setup]
MenuName=FLTK
[Icons]
UI Designer=<app>\bin\Fluid.exe,<app>\Icons\Fluid.ico
Website=http://www.fltk.org/
Let's assume that Dev-C++ is installed in C:\Dev-C++. This will create the
menu group "Start->Programs->Bloodshed Dev-C++->FLTK", with 2 menu items:
- Website, which points to http://www.gtk.org/
- UI Designer, which points to C:\Dev-C++\bin\fluid.exe, and use the icon
file C:\Dev-C++\Icons\Fluid.ico
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。