-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbase-manifest.js
50 lines (41 loc) · 1.09 KB
/
base-manifest.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
const path = require('path')
const packageJson = require(path.join(process.cwd(), 'package.json'));
const versionParts = packageJson.version.split('.');
module.exports = {
/**
* @type {string} Name of the channel.
*/
title: '',
/**
* @type {object<[key: string]: boolean>} Environment settings.
*/
bs_const: {},
/**
* @type {number} Major portion of the channel version.
*/
major_version: parseInt(versionParts[0], 10),
/**
* @type {number} Minor portion of the channel version.
*/
minor_version: parseInt(versionParts[1], 10),
/**
* @type {number} Build number.
*/
build_version: parseInt(versionParts[2], 10),
/**
* @type {string} Local URI for the HD channel icon.
*/
mm_icon_focus_hd: '',
/**
* @type {string} Local URI for the SD channel icon.
*/
mm_icon_focus_sd: '',
/**
* @type {string} Local URI for the HD splash screen displayed when the channel is launched.
*/
splash_screen_hd: '',
/**
* @type {string} Local URI for the SD splash screen displayed when the channel is launched.
*/
splash_screen_sd: '',
}