Show / Hide Table of Contents

Class ItchDistro

Distribution to upload builds to itch.io.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
DistroBase
ItchDistro
Inherited Members
DistroBase.builds
DistroBase.CanRunWithoutBuildTargets
DistroBase.IsRunning
DistroBase.HasAllBuilds()
DistroBase.Build()
DistroBase.Distribute()
DistroBase.Distribute(Boolean)
DistroBase.ForceCancel()
DistroBase.Cancel()
DistroBase.BuildAndGetBuildPaths(Boolean)
DistroBase.DistributeCoroutine(Boolean)
DistroBase.runningScripts
DistroBase.Execute(String, String, String, Action<String>, Action<String>)
DistroBase.Execute(ProcessStartInfo, String, Action<String>, Action<String>)
DistroBase.RunCoroutine(IEnumerator)
DistroBase.GetSubroutineResult<T>()
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 Source

butlerPath

Path to the itch.io butler binary.

Declaration
public string butlerPath
Field Value
Type Description
System.String
| Improve this Doc View Source

channelSuffix

Suffix added to the channel name (preceding dash will be added).

Declaration
public string channelSuffix
Field Value
Type Description
System.String
| Improve this Doc View Source

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 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
DistroBase.DistributeCoroutine(IEnumerable<DistroBase.BuildPath>, Boolean)
  • Improve this Doc
  • View Source
Back to top © 2017 Adrian Stutz