mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-24 06:39:50 +01:00
Merge pull request #368 from AltarikMC/dev
Fix another issue on startup
This commit is contained in:
commit
d55e9c9197
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "altarik-launcher",
|
||||
"author": "Altarik",
|
||||
"version": "2.1.3",
|
||||
"version": "2.1.4",
|
||||
"description": "Altarik Launcher",
|
||||
"main": "src/server/main.js",
|
||||
"type": "module",
|
||||
|
@ -1,11 +1,11 @@
|
||||
import ChildProcess from 'child_process'
|
||||
import path from 'path'
|
||||
|
||||
export default function handleSquirrelEvent (app) {
|
||||
if (process.argv.length === 1) {
|
||||
return false
|
||||
}
|
||||
|
||||
const ChildProcess = require('child_process')
|
||||
const path = require('path')
|
||||
|
||||
const appFolder = path.resolve(process.execPath, '..')
|
||||
const rootAtomFolder = path.resolve(appFolder, '..')
|
||||
const updateDotExe = path.resolve(path.join(rootAtomFolder, 'Update.exe'))
|
||||
|
Loading…
Reference in New Issue
Block a user