private static void deleteTemporaryFiles( Path tempDir ) {
		if( deletedTemporary )
			return;
		deletedTemporary = true;

		File[] markerFiles = tempDir.toFile().listFiles( (dir, name) -> name.endsWith( DELETE_SUFFIX ) );
		if( markerFiles == null )
			return;

		for( File markerFile : markerFiles ) {
			File toDeleteFile = new File( markerFile.getParent(), StringUtils.removeTrailing( markerFile.getName(), DELETE_SUFFIX ) );
			if( !toDeleteFile.exists() || toDeleteFile.delete() )
				markerFile.delete();
		}
	}
Add prefix and suffix to library name.
<ul>
<li>Windows: libraryName + ".dll"
<li>macOS: "lib" + libraryName + ".dylib"
<li>Linux: "lib" + libraryName + ".so"
</ul>
flatlaf-core/src/main/java/com/formdev/flatlaf/util/NativeLibrary.java