2018-08-23 07:03:28 +02:00
|
|
|
const path = require('path');
|
|
|
|
const package = require('./package.json');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
packagerConfig: {
|
2019-05-17 06:18:14 +02:00
|
|
|
asar: false,
|
2018-08-23 07:03:28 +02:00
|
|
|
icon: path.resolve(__dirname, 'assets', 'icon'),
|
2018-08-23 07:07:59 +02:00
|
|
|
appBundleId: 'com.felixrieseberg.windows95',
|
2018-08-23 07:03:28 +02:00
|
|
|
appCategoryType: 'public.app-category.developer-tools',
|
|
|
|
win32metadata: {
|
|
|
|
CompanyName: 'Felix Rieseberg',
|
2018-08-23 07:28:26 +02:00
|
|
|
OriginalFilename: 'windows95',
|
2018-08-23 07:03:28 +02:00
|
|
|
},
|
|
|
|
osxSign: {
|
|
|
|
identity: 'Developer ID Application: Felix Rieseberg (LT94ZKYDCJ)'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
makers: [
|
|
|
|
{
|
|
|
|
name: '@electron-forge/maker-squirrel',
|
|
|
|
platforms: ['win32'],
|
2018-12-27 07:41:56 +01:00
|
|
|
config: (arch) => {
|
2018-12-27 07:40:08 +01:00
|
|
|
return {
|
|
|
|
name: 'windows95',
|
|
|
|
authors: 'Felix Rieseberg',
|
|
|
|
exe: 'windows95.exe',
|
|
|
|
noMsi: true,
|
|
|
|
remoteReleases: '',
|
|
|
|
setupExe: `windows95-${package.version}-setup-${arch}.exe`,
|
|
|
|
setupIcon: path.resolve(__dirname, 'assets', 'icon.ico'),
|
|
|
|
certificateFile: process.env.WINDOWS_CERTIFICATE_FILE,
|
|
|
|
certificatePassword: process.env.WINDOWS_CERTIFICATE_PASSWORD
|
|
|
|
}
|
2018-08-23 07:03:28 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '@electron-forge/maker-zip',
|
2019-05-17 08:25:21 +02:00
|
|
|
platforms: ['darwin', 'win32']
|
2018-08-23 07:03:28 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '@electron-forge/maker-deb',
|
|
|
|
platforms: ['linux']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '@electron-forge/maker-rpm',
|
|
|
|
platforms: ['linux']
|
|
|
|
}
|
2019-05-17 05:30:03 +02:00
|
|
|
],
|
|
|
|
publishers: [
|
|
|
|
{
|
|
|
|
name: '@electron-forge/publisher-github',
|
|
|
|
config: {
|
|
|
|
repository: {
|
|
|
|
owner: 'felixrieseberg',
|
|
|
|
name: 'windows95'
|
|
|
|
},
|
|
|
|
draft: true,
|
|
|
|
prerelease: true
|
|
|
|
}
|
|
|
|
}
|
2018-08-23 07:03:28 +02:00
|
|
|
]
|
2018-08-23 07:07:59 +02:00
|
|
|
};
|