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

37 lines
1.1 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`
}
}
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'AltarikMC',
name: 'Launcher'
},
preRelease: false
}
}
]
}