StandardPaths

Contain standard paths to different parts of the operating system.

Properties

Link copied to clipboard
open override val cwd: String

Current Working Directory where the application was launched. Might be different to where the executable is if the application was launched in a different directory.

open val cwd: String

Current Working Directory where the application was launched. Might be different to where the executable is if the application was launched in a different directory.

open override val cwd: String
open override val cwd: String

Current Working Directory where the application was launched. Might be different to where the executable is if the application was launched in a different directory.

open override val cwd: String

Current Working Directory where the application was launched. Might be different to where the executable is if the application was launched in a different directory.

Link copied to clipboard

Gets the absolute executable path that is running.

Gets the absolute executable path that is running.

open override val executableFile: String

Gets the absolute executable path that is running.

Gets the absolute executable path that is running.

Link copied to clipboard

Gets the folder where is the executable that is running. In the case of JS, it will . and in the case of the JVM it will be where the jar is located.

Gets the folder where is the executable that is running. In the case of JS, it will . and in the case of the JVM it will be where the jar is located.

open override val executableFolder: String

Gets the folder where is the executable that is running. In the case of JS, it will . and in the case of the JVM it will be where the jar is located.

Gets the folder where is the executable that is running. In the case of JS, it will . and in the case of the JVM it will be where the jar is located.

Link copied to clipboard

Gets the executable folder, or the resources folder when running in a container/package that has the resources in a different path, for example in a macos .app.

Gets the executable folder, or the resources folder when running in a container/package that has the resources in a different path, for example in a macos .app.

open override val resourcesFolder: String

Gets the executable folder, or the resources folder when running in a container/package that has the resources in a different path, for example in a macos .app.

Gets the executable folder, or the resources folder when running in a container/package that has the resources in a different path, for example in a macos .app.

Link copied to clipboard
open override val temp: String

Temp folder where to store temporal files that might be discarded anytime.

open val temp: String

Temp folder where to store temporal files that might be discarded anytime.

open val temp: String
open val temp: String

Temp folder where to store temporal files that might be discarded anytime.

open override val temp: String

Temp folder where to store temporal files that might be discarded anytime.

Link copied to clipboard
open val userHome: String

Home directory of the current user.

open val userHome: String

Home directory of the current user.

open val userHome: String
open val userHome: String

Home directory of the current user.

open val userHome: String

Home directory of the current user.

Functions

Link copied to clipboard

Folder used to store preferences.

Folder used to store preferences.

open override fun appPreferencesFolder(appId: String): String

Folder used to store preferences.

Folder used to store preferences.