Class ZipDistro
Distro that creates ZIP files for each build.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
ZipDistro
Assembly: Trimmer-Editor.dll
Syntax
[CreateAssetMenu(fileName = "Zip Distro.asset", menuName = "Trimmer/Zip", order = 100)]
public class ZipDistro : DistroBase
Fields
|
Improve this Doc
View Source
appendVersion
Append the version number to the ZIP file name.
Declaration
public bool appendVersion
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
compression
The compression level used when creating the archives.
Declaration
public ZipDistro.CompressionLevel compression
Field Value
|
Improve this Doc
View Source
The compression format of the resulting archives.
Declaration
public ZipDistro.CompressionFormat format
Field Value
|
Improve this Doc
View Source
prettyNames
Define nicer names to use per-platform. The name will be used
for the archive file as well as the root folder in the zip
(if any).
Declaration
public ZipDistro.PrettyName[] prettyNames
Field Value
Methods
|
Improve this Doc
View Source
DistributeCoroutine(IEnumerable<DistroBase.BuildPath>, Boolean)
Declaration
protected override IEnumerator DistributeCoroutine(IEnumerable<DistroBase.BuildPath> buildPaths, bool forceBuild)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<DistroBase.BuildPath> |
buildPaths |
|
System.Boolean |
forceBuild |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Overrides
|
Improve this Doc
View Source
Get7ZipPath()
Declaration
protected string Get7ZipPath()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPrettyName(BuildTarget)
Declaration
protected string GetPrettyName(BuildTarget target)
Parameters
Type |
Name |
Description |
UnityEditor.BuildTarget |
target |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RenameRoot(String, String, String)
Declaration
protected IEnumerator RenameRoot(string archivePath, string oldName, string newName)
Parameters
Type |
Name |
Description |
System.String |
archivePath |
|
System.String |
oldName |
|
System.String |
newName |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
Zip(DistroBase.BuildPath)
Declaration
protected IEnumerator Zip(DistroBase.BuildPath buildPath)
Parameters
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
ZipBuilds(IEnumerable<DistroBase.BuildPath>)
Declaration
protected IEnumerator ZipBuilds(IEnumerable<DistroBase.BuildPath> buildPaths)
Parameters
Returns
Type |
Description |
System.Collections.IEnumerator |
|