PackageMaker

A PackageMaker is an application to create a redistributable zip package. A zip package may contain part of, one or several application redistributable files.

Features

  • Zip File Directory: using a treeview with checkbox to include files on a local disk in a zip package file.
    • There should be a package project text file which contains a plain list of filepaths that should be included in a zip package. It may contain regular expressions such as: "script/.*%.lua"
    • the zip directory treeview should also provide a bool function (filepath), that returns true if the file is being used by the system at the moment. Then the user can check files accordingly.
  • Package installer script: at the root of a zip package file, there is a file called package.xml, which contains package installation information.
  • package readme.txt: it is an optional text file at the root directory.
  • package about.html: it is an optional MCML or html file at the root directory.

TODO

  • save file txt file
  • merge files with another txt files.
  • when packaging zip, display a progress bar since it may take several seconds to be done. Use force render method.
  • automatically select all files in use in a selected folder
  • use red color to show files that are in use but not selected yet. Also in the preview window, precede such files with some mark letters like
    ==some file not selected but in use.txt
    file selected and in use.txt
  • when changing file extension filter, already selected files should be persistent.
  • when a folder is explicitly checked, it should check all sub folders, but needs to take the current file filter in to consideration

Manual

制作压缩包的主要步骤:

一:新建安装包---》步骤1:选择文件---》步骤2:预览文件---》步骤3:生成发行包

或者

二:打开安装包---》步骤1:选择文件---》步骤2:预览文件---》步骤3:生成发行包

注意事项:

如果是在“新建安装包”的时候,请记得 点击“新建发行包”按钮,确认创建压缩包的文本文件 !

如果是在“打开安装包”的时候,请记得 点击“加载”按钮,确认加载压缩包的文本文件 !

1 新建安装包 (请记得点击“新建发行包”按钮,确认创建压缩包文本文件成功,如果创建成功后,可以直接跳过“打开安装包”)

2 打开安装包(如果你想通过一个已经存在的压缩包文本文件生成发行包,你可以跳过“新建安装包”),请记得点击“加载”按钮,确认加载文本文件成功!

3 选中文件

注意:

“刷新”按钮的作用:重新预览在“当前目录”或者“当前目录并包含子目录”下面,引擎所使用的资源文件的列表。

“选中”按钮的作用:把“预览”里面的资源文件路径“自动选中”。

4 文件预览(预览所有选中的文件)

5 生成发行包

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg 1.jpg r1 manage 98.8 K 2008-05-26 - 07:10 UnknownUser  
JPEGjpg 2.jpg r1 manage 81.4 K 2008-05-26 - 07:10 UnknownUser  
JPEGjpg 3.jpg r1 manage 145.8 K 2008-05-26 - 07:10 UnknownUser  
JPEGjpg 4.jpg r1 manage 112.7 K 2008-05-26 - 07:11 UnknownUser  
JPEGjpg 5.jpg r2 r1 manage 175.6 K 2008-05-26 - 07:31 UnknownUser  
Topic revision: r2 - 2008-05-26 - LeioZhang
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback