worklog-reminder

Форк
0
/
forge.config.js 
88 строк · 3.4 Кб
1
const path = require('path')
2

3
module.exports = {
4
    packagerConfig: {
5
        icon: path.join(__dirname, 'static', 'appIconColored'),
6
        executableName: 'worklog-reminder',
7
    },
8
    plugins: [
9
        ['@electron-forge/plugin-webpack', {
10
            mainConfig: './webpack.main.config.js',
11
            renderer: {
12
                config: './webpack.renderer.config.js',
13
                nodeIntegration: true,
14
                entryPoints: [{
15
                    name: 'main_window',
16
                    html: './src/Application/Renderer/index.html',
17
                    js: './src/Application/Renderer/renderer.js'
18
                }]
19
            },
20
            devContentSecurityPolicy: `default-src 'self' 'unsafe-inline' 'unsafe-eval' data: https://*.atlassian.net https://*.sentry.io`,
21
        }]
22
    ],
23
    makers: [
24
        {
25
            name: '@electron-forge/maker-dmg',
26
            config: {
27
                name: "Worklog Reminder",
28
                background: path.join(__dirname, 'static', 'dmgBackground.jpg'),
29
                icon: path.join(__dirname, 'static', 'appIconColored.png'),
30
                iconSize: 128,
31
            }
32
        },
33
        {
34
            name: '@electron-forge/maker-squirrel',
35
            config: {
36
                name: 'WorklogReminder',
37
                icon: path.join(__dirname, 'static', 'appIconColored.ico'),
38
                loadingGif: path.join(__dirname, 'static', 'spinner.gif'),
39
                setupIcon: path.join(__dirname, 'static', 'appIconColored.ico'),
40
            }
41
        },
42
        {
43
            name: '@electron-forge/maker-deb',
44
            config: {
45
                options: {
46
                    maintainer: 'Soshnikov Artem',
47
                    homepage: 'https://github.com/Doka-NT/worklog-reminder',
48
                    categories: ['Utility'],
49
                    section: ['utils', 'javascript'],
50
                    genericName: 'Worklog Reminder',
51
                    icon: path.join(__dirname, 'static', 'appIconColored.png'),
52
                    productName: 'Worklog Reminder',
53
                    productDescription: "This app will help you with\n - Watch through your last viewed JIRA issues\n - Track time in 1-2 clicks. Optionally provide a comment\n - Schedule notifications to keep worklog actual",
54
                }
55
            }
56
        },
57
        {
58
            name: '@electron-forge/maker-rpm',
59
            config: {
60
                options: {
61
                    maintainer: 'Soshnikov Artem',
62
                    homepage: 'https://github.com/Doka-NT/worklog-reminder',
63
                    categories: ['Utility'],
64
                    genericName: 'Worklog Reminder',
65
                    description: "App to simplify work with worklogs in JIRA",
66
                    icon: path.join(__dirname, 'static', 'appIconColored.png'),
67
                    productName: 'Worklog Reminder',
68
                    productDescription: "This app will help you with\n - Watch through your last viewed JIRA issues\n - Track time in 1-2 clicks. Optionally provide a comment\n - Schedule notifications to keep worklog actual",
69
                }
70
            }
71
        },
72
        {
73
            name: '@electron-forge/maker-zip'
74
        }
75
    ],
76
    publishers: [
77
      {
78
        name: '@electron-forge/publisher-github',
79
        config: {
80
          repository: {
81
            owner: 'Doka-NT',
82
            name: 'worklog-reminder'
83
          },
84
          prerelease: false
85
        }
86
      }
87
    ],
88
}
89

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.