
* Initial setup and migrated src/common * WIP * WIP * WIP * Main module basically finished * Renderer process migrated * Added CI step and some fixes * Fixed remainder of issues and added proper ESLint config * Fixed a couple issues * Progress! * Some more fixes * Fixed a test * Fix build step * PR feedback
36 lines
1.4 KiB
TypeScript
36 lines
1.4 KiB
TypeScript
// Copyright (c) 2015-2016 Yuya Ochiai
|
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {BuildConfig} from 'types/config';
|
|
|
|
// For detailed guides, please refer to https://docs.mattermost.com/deployment/desktop-app-deployment.html
|
|
|
|
/**
|
|
* Build-time configuration. End-users can't change these parameters.
|
|
* @prop {Object[]} defaultTeams
|
|
* @prop {string} defaultTeams[].name - The tab name for default team.
|
|
* @prop {string} defaultTeams[].url - The URL for default team.
|
|
* @prop {string} defaultTeams[].order - Sort order for team tabs (0, 1, 2)
|
|
* @prop {string} helpLink - The URL for "Help->Learn More..." menu item.
|
|
* If null is specified, the menu disappears.
|
|
* @prop {boolean} enableServerManagement - Whether users can edit servers configuration.
|
|
* Specify at least one server for "defaultTeams"
|
|
* when "enableServerManagement is set to false
|
|
* @prop {[]} managedResources - Defines which paths are managed
|
|
*/
|
|
const buildConfig: BuildConfig = {
|
|
defaultTeams: [/*
|
|
{
|
|
name: 'example',
|
|
url: 'https://example.com'
|
|
}
|
|
*/],
|
|
helpLink: 'https://about.mattermost.com/default-desktop-app-documentation/',
|
|
enableServerManagement: true,
|
|
enableAutoUpdater: true,
|
|
managedResources: ['trusted'],
|
|
};
|
|
|
|
export default buildConfig;
|