getApplicationWriteableRootFolder

fun Tooling.getApplicationWriteableRootFolder(appName: String, appVersion: String? = null, appAuthor: String? = null, multiPath: Boolean = false): File?

Get a read-write able folder for (a compose) application to store user unrelated data.

Return

a File in a platform dependent application data folder or null if no path was read-writeable.

Parameters

appName

the name of the application which is used.

appVersion

specify if the file is dependent on a specific application version.

appAuthor

specify if the file is dependent on a specific application author.

multiPath

whether multi path should be used (Windows) or not.