Files
amsterdam/config/fpath_windows.go
T

26 lines
768 B
Go

//go:build windows
/*
* Amsterdam Web Communities System
* Copyright (c) 2025-2026 Erbosoft Metaverse Design Solutions, All Rights Reserved
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* SPDX-License-Identifier: MPL-2.0
*/
// Package config contains support for Amsterdam site-wide configuration data.
package config
import "os"
// configFileDirs returns the directories where an Amsterdam config file may be located.
func configFileDirs() []string {
// this variant is for Micro$oft Windows
rc := make([]string, 0, 1)
rc = append(rc, os.ExpandEnv("${PROGRAMDATA}\\\\amsterdam"))
return rc
}