-
-
Notifications
You must be signed in to change notification settings - Fork 162
/
Copy pathmain.js
38 lines (31 loc) · 1.17 KB
/
main.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
// async function exportImages(sel, rootNode) {
// let exportImagesFunc = require('./src/functions/exportImages');
// await exportImagesFunc(sel, rootNode);
// }
// async function exportTheme(sel, rootNode) {
// let exportThemeFunc = require('./src/functions/exportTheme');
// await exportThemeFunc(sel, rootNode);
// }
// async function exportApplicationIcons(sel, rootNode) {
// let exportApplicationIconsFunc = require('./src/functions/exportApplicationIcons');
// await exportApplicationIconsFunc(sel, rootNode);
// }
const exportImages = async (sel, rootNode) => {
const exportImagesFunc = require('./src/functions/exportImages');
await exportImagesFunc(sel, rootNode);
}
const exportTheme = async (sel, rootNode) => {
const exportThemeFunc = require('./src/functions/exportTheme');
await exportThemeFunc(sel, rootNode);
}
const exportAppIcons = async (sel, rootNode) => {
const exportAppIconsFunc = require('./src/functions/exportAppIcons');
await exportAppIconsFunc(sel, rootNode);
}
module.exports = {
commands: {
exportImages,
exportTheme,
exportAppIcons
}
};