From 2f880dabf756f5789789799b5f427b7796e7e219 Mon Sep 17 00:00:00 2001 From: Adrian-George Bostan Date: Fri, 8 Jan 2021 12:20:24 +0200 Subject: [PATCH] Minor README.md update --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d3b9b4f..33b6570 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ including data and configuration files. For portability and flexibility reasons, applications should use the XDG defined locations instead of hardcoding paths. The package also includes the locations of well known [user directories](https://wiki.archlinux.org/index.php/XDG_user_directories) -and an implementation of the [state directory proposal](https://wiki.debian.org/XDGBaseDirectorySpecification#Proposal:_STATE_directory). +and an implementation of the [state directory](https://wiki.debian.org/XDGBaseDirectorySpecification#Proposal:_STATE_directory) proposal. Windows, macOS and most flavors of Unix are supported. Full documentation can be found at: https://pkg.go.dev/github.com/adrg/xdg. @@ -54,6 +54,14 @@ present in the environment. #### Non-standard directories +State directory + +``` +Unix: ~/.local/state +macOS: ~/Library/Application Support +Windows: %LOCALAPPDATA% +``` + Application directories ``` @@ -93,13 +101,6 @@ Windows: - %LOCALAPPDATA%\Microsoft\Windows\Fonts ``` -State directory -``` -Unix: ~/.local/state -macOS: ~/Library/Application Support -Windows: %LOCALAPPDATA% -``` - ## Usage #### XDG Base Directory