-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows-packager.js
27 lines (25 loc) · 976 Bytes
/
windows-packager.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const electronInstaller = require('electron-winstaller');
const runInstaller = async () => {
try {
await electronInstaller.createWindowsInstaller({
appDirectory: 'builds/windows/iMonke',
outputDirectory: 'builds/WindowsFull/',
authors: "Tobi, MakeShiftArtist",
exe: 'iMonke.exe',
owners: "Tobi, MakeShiftArtist, Zero",
description: "imagine if ifunny was good?",
version: "1.2.37",
title: "iMonke",
name: "iMonke",
setupIcon: "src/monkeshare/dump/imonke-new-leaning-padded-large.ico",
setupExe: "iMonke.exe",
setupMsi: "iMonke.msi",
loadingGif: "src/monkeshare/dump/imonke-new-leaning-padded-large.gif",
},
);
console.log('It worked!');
} catch (e) {
console.log(`No dice: ${e.message}`);
};
};
runInstaller();