Properties

Link copied to clipboard
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.

Link copied to clipboard

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.

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.

Link copied to clipboard
open 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.

Functions

Link copied to clipboard

Folder used to store preferences.