mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-19 02:42:05 +00:00
fix: al login
This commit is contained in:
parent
a9b924ab52
commit
6e5c15a808
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ if (!gotTheLock) {
|
|||
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||
mainWindow.focus()
|
||||
}
|
||||
const token = commandLine[commandLine.length - 1].slice(7)
|
||||
const token = commandLine[commandLine.length - 1].slice(8)
|
||||
if (process.env.NODE_ENV !== 'development ') {
|
||||
mainWindow.loadURL(path.join(__dirname, '/renderer/dist/index.html' + token))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue