func CacheDir(appName string) (string, error) {
	return LogDir(appName)
}
CacheDir returns where to store temporary files
package keybase
import (
	"bytes"
	"fmt"
	"os"
	"os/exec"
	"os/user"
	"path/filepath"
	"runtime"
	"strings"
	"time"
	"github.com/keybase/go-updater"
	"github.com/keybase/go-updater/command"
)
func (c config) destinationPath() string {
	return ""
}
func Dir(appName string) (string, error) {
	dir := os.Getenv("XDG_CONFIG_HOME")
	if dir != "" {
		return dir, nil
	}
	usr, err := user.Current()
	if err != nil {
		return "", err
	}
	if appName == "" {
		return "", fmt.Errorf("No app name for dir")
	}
	return filepath.Join(usr.HomeDir, ".config", appName), nil
}