worklog-reminder
/
forge.config.js
88 строк · 3.4 Кб
1const path = require('path')2
3module.exports = {4packagerConfig: {5icon: path.join(__dirname, 'static', 'appIconColored'),6executableName: 'worklog-reminder',7},8plugins: [9['@electron-forge/plugin-webpack', {10mainConfig: './webpack.main.config.js',11renderer: {12config: './webpack.renderer.config.js',13nodeIntegration: true,14entryPoints: [{15name: 'main_window',16html: './src/Application/Renderer/index.html',17js: './src/Application/Renderer/renderer.js'18}]19},20devContentSecurityPolicy: `default-src 'self' 'unsafe-inline' 'unsafe-eval' data: https://*.atlassian.net https://*.sentry.io`,21}]22],23makers: [24{25name: '@electron-forge/maker-dmg',26config: {27name: "Worklog Reminder",28background: path.join(__dirname, 'static', 'dmgBackground.jpg'),29icon: path.join(__dirname, 'static', 'appIconColored.png'),30iconSize: 128,31}32},33{34name: '@electron-forge/maker-squirrel',35config: {36name: 'WorklogReminder',37icon: path.join(__dirname, 'static', 'appIconColored.ico'),38loadingGif: path.join(__dirname, 'static', 'spinner.gif'),39setupIcon: path.join(__dirname, 'static', 'appIconColored.ico'),40}41},42{43name: '@electron-forge/maker-deb',44config: {45options: {46maintainer: 'Soshnikov Artem',47homepage: 'https://github.com/Doka-NT/worklog-reminder',48categories: ['Utility'],49section: ['utils', 'javascript'],50genericName: 'Worklog Reminder',51icon: path.join(__dirname, 'static', 'appIconColored.png'),52productName: 'Worklog Reminder',53productDescription: "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{58name: '@electron-forge/maker-rpm',59config: {60options: {61maintainer: 'Soshnikov Artem',62homepage: 'https://github.com/Doka-NT/worklog-reminder',63categories: ['Utility'],64genericName: 'Worklog Reminder',65description: "App to simplify work with worklogs in JIRA",66icon: path.join(__dirname, 'static', 'appIconColored.png'),67productName: 'Worklog Reminder',68productDescription: "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{73name: '@electron-forge/maker-zip'74}75],76publishers: [77{78name: '@electron-forge/publisher-github',79config: {80repository: {81owner: 'Doka-NT',82name: 'worklog-reminder'83},84prerelease: false85}86}87],88}
89