2021-04-13 13:10:54 +02:00
|
|
|
const path = require('path');
|
2021-05-14 16:21:22 +02:00
|
|
|
const pkg = require('./package.json')
|
|
|
|
|
2021-04-13 13:10:54 +02:00
|
|
|
module.exports = {
|
|
|
|
packagerConfig: {
|
|
|
|
packageName: "altarik-launcher",
|
2022-02-18 23:30:44 +01:00
|
|
|
name: "Altarik Launcher",
|
2021-04-13 13:10:54 +02:00
|
|
|
productName: "altarik-launcher",
|
2021-04-17 12:03:54 +02:00
|
|
|
icon: path.resolve(__dirname, 'icon.ico')
|
2021-04-13 13:10:54 +02:00
|
|
|
},
|
|
|
|
makers: [
|
|
|
|
{
|
|
|
|
name: "@electron-forge/maker-squirrel",
|
|
|
|
platforms: ['darwin', 'win32'],
|
|
|
|
config: {
|
2021-05-14 16:21:22 +02:00
|
|
|
name: pkg.name,
|
2021-04-17 12:03:54 +02:00
|
|
|
iconUrl: path.resolve(__dirname, 'icon.ico'),
|
2021-04-13 13:10:54 +02:00
|
|
|
//loadingGif: path.resolve(__dirname, 'src/assets/loading.gif'),
|
2021-04-17 12:03:54 +02:00
|
|
|
setupIcon: path.resolve(__dirname, 'icon.ico'),
|
2021-05-14 16:21:22 +02:00
|
|
|
setupExe: `${pkg.name}-${pkg.version}-win32-x64.exe`
|
2021-04-13 13:10:54 +02:00
|
|
|
}
|
2022-10-11 16:39:25 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '@electron-forge/maker-zip',
|
|
|
|
platforms: ['linux']
|
2021-04-13 13:10:54 +02:00
|
|
|
}
|
2022-05-17 13:08:44 +02:00
|
|
|
],
|
|
|
|
publishers: [
|
|
|
|
{
|
|
|
|
name: '@electron-forge/publisher-github',
|
|
|
|
config: {
|
|
|
|
repository: {
|
|
|
|
owner: 'AltarikMC',
|
|
|
|
name: 'Launcher'
|
|
|
|
},
|
2022-12-23 01:39:46 +01:00
|
|
|
preRelease: false,
|
2023-08-29 18:07:31 +02:00
|
|
|
draft: true,
|
|
|
|
tagPrefix: ''
|
2022-05-17 13:08:44 +02:00
|
|
|
}
|
|
|
|
}
|
2021-04-13 13:10:54 +02:00
|
|
|
]
|
|
|
|
}
|