public static File getUserTempDirectory() {
		try {
			// 'app' will be null when the application has not been initialized yet.  In this case,
			// we provide the default user temp directory.
			return app != null ? app.layout.getUserTempDir()
					: ApplicationUtilities.getDefaultUserTempDir("ghidra");
		}
		catch (IOException e) {
			throw new AssertException(e);
		}
	}
Returns the temporary directory specific to the user and the application.
This directory may be removed at system reboot or during periodic
system cleanup of unused temp files.
This directory is specific to the application name but not the version.
Resources stored within this directory should utilize some
form of access locking or unique naming.  Transient resources should be
deleted when no longer in use.
@return temp directory
Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java