Skip to content

Commit

Permalink
Merge pull request #368 from AltarikMC/dev
Browse files Browse the repository at this point in the history
Fix another issue on startup
  • Loading branch information
quentinlegot committed Jan 23, 2024
2 parents 082dfd4 + c0f6ace commit d55e9c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/server/install.js
Original file line number Diff line number Diff line change
@@ -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'))
Expand Down

0 comments on commit d55e9c9

Please sign in to comment.