Initial commit
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
/node_modules/
|
/node_modules/
|
||||||
/build/
|
/build/
|
||||||
|
/dist/
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
owner: TrollFury
|
owner: TrollFury
|
||||||
repo: chencoLauncher
|
repo: chencoLauncher
|
||||||
provider: github
|
provider: github
|
||||||
host: git.chenco.dev
|
|
||||||
releaseType: release
|
|
||||||
|
|||||||
@@ -14,7 +14,13 @@ extraResources:
|
|||||||
- 'libraries'
|
- 'libraries'
|
||||||
|
|
||||||
# Windows Configuration
|
# Windows Configuration
|
||||||
win:
|
win:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target:
|
target:
|
||||||
- target: 'nsis'
|
- target: 'nsis'
|
||||||
arch: 'x64'
|
arch: 'x64'
|
||||||
@@ -28,6 +34,12 @@ nsis:
|
|||||||
|
|
||||||
# macOS Configuration
|
# macOS Configuration
|
||||||
mac:
|
mac:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target:
|
target:
|
||||||
- target: 'dmg'
|
- target: 'dmg'
|
||||||
arch:
|
arch:
|
||||||
@@ -37,15 +49,16 @@ mac:
|
|||||||
category: 'public.app-category.games'
|
category: 'public.app-category.games'
|
||||||
|
|
||||||
# Linux Configuration
|
# Linux Configuration
|
||||||
linux:
|
linux:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target: 'AppImage'
|
target: 'AppImage'
|
||||||
maintainer: 'Chen & Co'
|
maintainer: 'Chen & Co'
|
||||||
vendor: 'Chen & Co'
|
vendor: 'Chen & Co'
|
||||||
synopsis: 'Modded Minecraft Launcher'
|
synopsis: 'Modded Minecraft Launcher'
|
||||||
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
|
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
|
||||||
category: 'Game'
|
category: 'Game'
|
||||||
|
|
||||||
|
|
||||||
directories:
|
|
||||||
buildResources: 'build'
|
|
||||||
output: 'dist'
|
|
||||||
1
index.js
1
index.js
@@ -60,6 +60,7 @@ ipcMain.on('autoUpdateAction', (event, arg, data) => {
|
|||||||
break
|
break
|
||||||
case 'checkForUpdate':
|
case 'checkForUpdate':
|
||||||
autoUpdater.checkForUpdates()
|
autoUpdater.checkForUpdates()
|
||||||
|
.then(d => console.log(d))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
event.sender.send('autoUpdateNotification', 'realerror', err)
|
event.sender.send('autoUpdateNotification', 'realerror', err)
|
||||||
})
|
})
|
||||||
|
|||||||
6181
package-lock.json
generated
6181
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@@ -1,19 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "Chenco Launcher",
|
"name": "ChencoLauncher",
|
||||||
"version": "2.2.2",
|
"version": "2.2.1",
|
||||||
"productName": "Chenco Launcher",
|
"productName": "Chenco Launcher",
|
||||||
"description": "Modded Minecraft Launcher",
|
"description": "Modded Minecraft Launcher",
|
||||||
"author": "Trollfury (https://github.com/trollfury21/)",
|
"author": "Trollfury",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"homepage": "",
|
|
||||||
"bugs": {
|
|
||||||
"url": ""
|
|
||||||
},
|
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"dist": "electron-builder build",
|
"dist": "electron-builder --publish always build",
|
||||||
"dist:win": "npm run dist -- -w",
|
"dist:win": "npm run dist -- -w",
|
||||||
"dist:mac": "npm run dist -- -m",
|
"dist:mac": "npm run dist -- -m",
|
||||||
"dist:linux": "npm run dist -- -l",
|
"dist:linux": "npm run dist -- -l",
|
||||||
|
|||||||
Reference in New Issue
Block a user