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:
parent
66e6b92a0d
commit
c5c743f1c2
@ -1,21 +1,29 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
packageName: "altarik-launcher",
|
packageName: "altarik-launcher",
|
||||||
name: "altarik-launcher",
|
name: "altarik-launcher",
|
||||||
productName: "altarik-launcher",
|
productName: "altarik-launcher",
|
||||||
icon: path.resolve(__dirname, 'app.ico')
|
icon: path.resolve(__dirname, 'app.ico')
|
||||||
},
|
},
|
||||||
makers: [
|
makers: [
|
||||||
{
|
{
|
||||||
name: "@electron-forge/maker-squirrel",
|
name: "@electron-forge/maker-squirrel",
|
||||||
config: {
|
platforms: ['darwin', 'win32'],
|
||||||
name: "altarik-launcher",
|
config: {
|
||||||
iconUrl: path.resolve(__dirname, 'app.ico'),
|
name: "altarik-launcher",
|
||||||
//loadingGif: path.resolve(__dirname, 'src/assets/loading.gif'),
|
iconUrl: path.resolve(__dirname, 'app.ico'),
|
||||||
setupIcon: path.resolve(__dirname, 'app.ico'),
|
//loadingGif: path.resolve(__dirname, 'src/assets/loading.gif'),
|
||||||
setupExe: "altarik-launcher-win32-x64.exe"
|
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
10107
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
74
package.json
74
package.json
@ -1,35 +1,39 @@
|
|||||||
{
|
{
|
||||||
"name": "altarik-launcher",
|
"name": "altarik-launcher",
|
||||||
"version": "0.3.0",
|
"version": "0.3.0",
|
||||||
"description": "Altarik Launcher",
|
"description": "Altarik Launcher",
|
||||||
"main": "src/server/main.js",
|
"main": "src/server/main.js",
|
||||||
"repository": "AltarikMC/Launcher",
|
"repository": "AltarikMC/Launcher",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron-forge start",
|
"start": "electron-forge start",
|
||||||
"test": "electron .",
|
"test": "electron .",
|
||||||
"package": "electron-forge package",
|
"package": "electron-forge package",
|
||||||
"make": "electron-forge make"
|
"make": "electron-forge make",
|
||||||
},
|
"make_zip": "electron-forge make --targets=\"@electron-forge/maker-zip\""
|
||||||
"keywords": [],
|
},
|
||||||
"authors": [
|
"keywords": [],
|
||||||
"Altarik"
|
"authors": [
|
||||||
],
|
"Altarik"
|
||||||
"license": "BSD-3-Clause",
|
],
|
||||||
"devDependencies": {
|
"license": "BSD-3-Clause",
|
||||||
"@electron-forge/cli": "^6.0.0-beta.54",
|
"devDependencies": {
|
||||||
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
|
"@electron-forge/cli": "^6.0.0-beta.54",
|
||||||
"electron": "^12.0.2"
|
"@electron-forge/maker-deb": "^6.0.0-beta.54",
|
||||||
},
|
"@electron-forge/maker-rpm": "^6.0.0-beta.54",
|
||||||
"dependencies": {
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.54",
|
||||||
"axios": "^0.21.1",
|
"@electron-forge/maker-zip": "^6.0.0-beta.54",
|
||||||
"electron-is-dev": "^2.0.0",
|
"electron": "^12.0.2"
|
||||||
"electron-log": "^4.3.4",
|
},
|
||||||
"electron-squirrel-startup": "^1.0.0",
|
"dependencies": {
|
||||||
"extract-zip": "^2.0.1",
|
"axios": "^0.21.1",
|
||||||
"minecraft-launcher-core": "^3.16.2",
|
"electron-is-dev": "^2.0.0",
|
||||||
"sha1-file": "^2.0.0"
|
"electron-log": "^4.3.4",
|
||||||
},
|
"electron-squirrel-startup": "^1.0.0",
|
||||||
"config": {
|
"extract-zip": "^2.0.1",
|
||||||
"forge": "./config.forge.js"
|
"minecraft-launcher-core": "^3.16.2",
|
||||||
}
|
"sha1-file": "^2.0.0"
|
||||||
}
|
},
|
||||||
|
"config": {
|
||||||
|
"forge": "./config.forge.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user