4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-24 06:39:50 +01:00
Launcher/config.forge.js

42 lines
1.2 KiB
JavaScript
Raw Normal View History

const path = require('path');
2021-05-14 16:21:22 +02:00
const pkg = require('./package.json')
module.exports = {
packagerConfig: {
packageName: "altarik-launcher",
2022-02-18 23:30:44 +01:00
name: "Altarik Launcher",
productName: "altarik-launcher",
2021-04-17 12:03:54 +02:00
icon: path.resolve(__dirname, 'icon.ico')
},
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'),
//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`
}
2022-10-11 16:39:25 +02:00
},
{
name: '@electron-forge/maker-zip',
platforms: ['linux']
}
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'AltarikMC',
name: 'Launcher'
},
2022-12-23 01:39:46 +01:00
preRelease: false,
draft: true
}
}
]
}