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

added possibility to compile on linux and possibly on darwin

This commit is contained in:
Quentin Legot 2021-04-13 13:10:54 +02:00
parent 66e6b92a0d
commit c5c743f1c2
3 changed files with 5311 additions and 4920 deletions

View File

@ -9,6 +9,7 @@ module.exports = {
makers: [
{
name: "@electron-forge/maker-squirrel",
platforms: ['darwin', 'win32'],
config: {
name: "altarik-launcher",
iconUrl: path.resolve(__dirname, 'app.ico'),
@ -16,6 +17,13 @@ module.exports = {
setupIcon: path.resolve(__dirname, 'app.ico'),
setupExe: "altarik-launcher-win32-x64.exe"
}
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux'],
config: {
// Config here
}
}
]
}

1065
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,8 @@
"start": "electron-forge start",
"test": "electron .",
"package": "electron-forge package",
"make": "electron-forge make"
"make": "electron-forge make",
"make_zip": "electron-forge make --targets=\"@electron-forge/maker-zip\""
},
"keywords": [],
"authors": [
@ -17,7 +18,10 @@
"license": "BSD-3-Clause",
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.54",
"@electron-forge/maker-deb": "^6.0.0-beta.54",
"@electron-forge/maker-rpm": "^6.0.0-beta.54",
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
"@electron-forge/maker-zip": "^6.0.0-beta.54",
"electron": "^12.0.2"
},
"dependencies": {