此样例反映了插件软件包可能包含的内容以及如何在磁盘上组织其结构。 .bundle 不是文件名称,而是具有 BUNDLE 扩展名的文件夹名称。以下是包含作为主程序的 LSP 文件和 DWG 支持文件的插件的示例。以下插件示例名为 OfficeSymbols,其文件夹结构可能如下所示(文件夹均以粗体显示): OfficeSymbols.bundle |- PackageContents.xml |- Contents |- OfficeSymbolsUtilities.lsp |- Resources |- OfficeSymbols.dwg |- OfficeSymbols.ico |- OfficeSymbols.htm
PackageContents.xml 的定义<?xml version="1.0" encoding="utf-8" ?> <ApplicationPackage SchemaVersion="1.0" AppVersion="1.0" ProductCode="[Add Unique Plug-in GUID Here]" Name="Office Symbols" Icon="./Contents/Resources/OfficeSymbols.ico" Helpfile="./Contents/Resources/OfficeSymbols.htm" > <CompanyDetails Name="ABC Indoor CAD, Inc." Email="support@abcindoorcad.com" /> <Components> <ComponentEntry ModuleName="./Contents/LISP/OfficeSymbolsUtilities.lsp" /> </Components> </ApplicationPackage> |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2024-12-16 01:27
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.