4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-21 06:09:51 +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

@ -1,21 +1,29 @@
const path = require('path');
module.exports = {
packagerConfig: {
packageName: "altarik-launcher",
name: "altarik-launcher",
productName: "altarik-launcher",
icon: path.resolve(__dirname, 'app.ico')
},
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {
name: "altarik-launcher",
iconUrl: path.resolve(__dirname, 'app.ico'),
//loadingGif: path.resolve(__dirname, 'src/assets/loading.gif'),
setupIcon: path.resolve(__dirname, 'app.ico'),
setupExe: "altarik-launcher-win32-x64.exe"
}
}
]
}
const path = require('path');
module.exports = {
packagerConfig: {
packageName: "altarik-launcher",
name: "altarik-launcher",
productName: "altarik-launcher",
icon: path.resolve(__dirname, 'app.ico')
},
makers: [
{
name: "@electron-forge/maker-squirrel",
platforms: ['darwin', 'win32'],
config: {
name: "altarik-launcher",
iconUrl: path.resolve(__dirname, 'app.ico'),
//loadingGif: path.resolve(__dirname, 'src/assets/loading.gif'),
setupIcon: path.resolve(__dirname, 'app.ico'),
setupExe: "altarik-launcher-win32-x64.exe"
}
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin', 'linux'],
config: {
// Config here
}
}
]
}

10107
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +1,39 @@
{
"name": "altarik-launcher",
"version": "0.3.0",
"description": "Altarik Launcher",
"main": "src/server/main.js",
"repository": "AltarikMC/Launcher",
"scripts": {
"start": "electron-forge start",
"test": "electron .",
"package": "electron-forge package",
"make": "electron-forge make"
},
"keywords": [],
"authors": [
"Altarik"
],
"license": "BSD-3-Clause",
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.54",
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
"electron": "^12.0.2"
},
"dependencies": {
"axios": "^0.21.1",
"electron-is-dev": "^2.0.0",
"electron-log": "^4.3.4",
"electron-squirrel-startup": "^1.0.0",
"extract-zip": "^2.0.1",
"minecraft-launcher-core": "^3.16.2",
"sha1-file": "^2.0.0"
},
"config": {
"forge": "./config.forge.js"
}
}
{
"name": "altarik-launcher",
"version": "0.3.0",
"description": "Altarik Launcher",
"main": "src/server/main.js",
"repository": "AltarikMC/Launcher",
"scripts": {
"start": "electron-forge start",
"test": "electron .",
"package": "electron-forge package",
"make": "electron-forge make",
"make_zip": "electron-forge make --targets=\"@electron-forge/maker-zip\""
},
"keywords": [],
"authors": [
"Altarik"
],
"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": {
"axios": "^0.21.1",
"electron-is-dev": "^2.0.0",
"electron-log": "^4.3.4",
"electron-squirrel-startup": "^1.0.0",
"extract-zip": "^2.0.1",
"minecraft-launcher-core": "^3.16.2",
"sha1-file": "^2.0.0"
},
"config": {
"forge": "./config.forge.js"
}
}