mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-22 06:19:50 +01:00
Add auto unpack natives to reduce loading times and disk consumption
This commit is contained in:
parent
4ddd6b0e9a
commit
30d14d4bbc
@ -6,8 +6,15 @@ module.exports = {
|
|||||||
packageName: "altarik-launcher",
|
packageName: "altarik-launcher",
|
||||||
name: "Altarik Launcher",
|
name: "Altarik Launcher",
|
||||||
productName: "altarik-launcher",
|
productName: "altarik-launcher",
|
||||||
icon: path.resolve(__dirname, 'icon.ico')
|
icon: path.resolve(__dirname, 'icon.ico'),
|
||||||
|
asar: true,
|
||||||
},
|
},
|
||||||
|
plugins: [
|
||||||
|
{
|
||||||
|
name: '@electron-forge/plugin-auto-unpack-natives',
|
||||||
|
config: {}
|
||||||
|
}
|
||||||
|
],
|
||||||
makers: [
|
makers: [
|
||||||
{
|
{
|
||||||
name: "@electron-forge/maker-squirrel",
|
name: "@electron-forge/maker-squirrel",
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
"@electron-forge/cli": "^6.4.1",
|
"@electron-forge/cli": "^6.4.1",
|
||||||
"@electron-forge/maker-squirrel": "^6.4.1",
|
"@electron-forge/maker-squirrel": "^6.4.1",
|
||||||
"@electron-forge/maker-zip": "^6.4.1",
|
"@electron-forge/maker-zip": "^6.4.1",
|
||||||
|
"@electron-forge/plugin-auto-unpack-natives": "^6.4.1",
|
||||||
"@electron-forge/publisher-github": "^6.4.1",
|
"@electron-forge/publisher-github": "^6.4.1",
|
||||||
"electron": "^26.1.0"
|
"electron": "^26.1.0"
|
||||||
},
|
},
|
||||||
|
@ -109,6 +109,14 @@
|
|||||||
fs-extra "^10.0.0"
|
fs-extra "^10.0.0"
|
||||||
got "^11.8.5"
|
got "^11.8.5"
|
||||||
|
|
||||||
|
"@electron-forge/plugin-auto-unpack-natives@^6.4.1":
|
||||||
|
version "6.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@electron-forge/plugin-auto-unpack-natives/-/plugin-auto-unpack-natives-6.4.1.tgz#14d8f66dcb1905c61ee738ea74b38e0b50c2f00b"
|
||||||
|
integrity sha512-6EPVt3G/vnHBKhrVnOcA+o3ayLNJ3M1ptvLbgULSYzLxL6erfILOmCeXKuOAyBebGPDsZoVliJ0Hh7uaNg+1Og==
|
||||||
|
dependencies:
|
||||||
|
"@electron-forge/plugin-base" "6.4.1"
|
||||||
|
"@electron-forge/shared-types" "6.4.1"
|
||||||
|
|
||||||
"@electron-forge/plugin-base@6.4.1":
|
"@electron-forge/plugin-base@6.4.1":
|
||||||
version "6.4.1"
|
version "6.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@electron-forge/plugin-base/-/plugin-base-6.4.1.tgz#8821a17f4ba53de3838322db1dedb1db9bbacdad"
|
resolved "https://registry.yarnpkg.com/@electron-forge/plugin-base/-/plugin-base-6.4.1.tgz#8821a17f4ba53de3838322db1dedb1db9bbacdad"
|
||||||
|
Loading…
Reference in New Issue
Block a user