Class ItchDistro
Distribution to upload builds to itch.io.
Inherited Members
Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
[CreateAssetMenu(fileName = "Itch Distro.asset", menuName = "Trimmer/Itch.io", order = 100)]
public class ItchDistro : DistroBase
Remarks
The distribution relies on itch's butler command line tool: https://itch.io/docs/butler/ Download the tool and set butlerPath to its location (relative to the project root).
Authentication is handled via butler, which stores an API token on the local machine.
Call butler login
once to authorize it.
Fields
| Improve this Doc View SourcebutlerPath
Path to the itch.io butler binary.
Declaration
public string butlerPath
Field Value
Type | Description |
---|---|
System.String |
channelSuffix
Suffix added to the channel name (preceding dash will be added).
Declaration
public string channelSuffix
Field Value
Type | Description |
---|---|
System.String |
project
Name of the project to push to (in the form "user/name").
Declaration
public string project
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDistributeCoroutine(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 |