-
Notifications
You must be signed in to change notification settings - Fork 2
/
electron.packer.js
45 lines (38 loc) · 1.65 KB
/
electron.packer.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
/*
BridgeCmdr - A/V switch and monitor controller
Copyright (C) 2019-2020 Matthew Holder
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const packager = require("./build/electron-packer");
packager.source(".").target("linux", "armhf").
ignore(
// In the root, exclude these patterns or paths
new RegExp("^/\\.", "u"),
new RegExp("^/out", "u"),
new RegExp("^/main", "u"),
new RegExp("^/render", "u"),
new RegExp("^/build", "u"),
new RegExp("^/bridgecmdr$", "u"),
new RegExp("^/@types", "u"),
new RegExp("^/[^/]+\\.txt$", "u"),
new RegExp("^/[^/]+\\.md", "u"),
new RegExp("^/[^/]+\\.dic", "u"),
new RegExp("^/[^/]+\\.packer\\.js", "u"),
new RegExp("^/[^/]+-lock\\.json", "u"),
// At all levels, exclude these patterns
new RegExp("/tsconfig.json$", "u"),
new RegExp("\\.ts", "u"),
).
installer({
productDescription: "Professional Raspberry Pi A/V switch and monitor controller for retro gaming.",
});