Skip to main content
Namespace: Phoenix.BuilderUIClient
Assembly: Phoenix.BuilderUIClient.dll

SetIconAsync(string)

Set a new icon by first copying the old icon into the extraction folder, and then setting the Icon property of the config.

Parameters

filePath string The absolute path to the new icon file.

Returns

Task Task of the running operation.

Remarks

This method does not delete the old icon to give the user the opportunity to copy it elsewhere. Otherwise, it should be deleted when the extraction folder is cleaned up.