1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Discard finder (#1497)

* Discard finder

* Upgrade electron

* Discard anything related with finder

* Fix lint errors

* Run test serial

* Test on v6

* Test on v6 only
This commit is contained in:
Junyoung Choi (Sai)
2018-02-03 23:39:53 +09:00
committed by GitHub
parent 922570bb5c
commit 51a8c47afd
28 changed files with 14 additions and 1732 deletions

View File

@@ -4,11 +4,6 @@ const path = require('path')
var error = null
function isFinderCalled () {
var argv = process.argv.slice(1)
return argv.some((arg) => arg.match(/--finder/))
}
function execMainApp () {
const appRootPath = path.join(process.execPath, '../..')
const updateDotExePath = path.join(appRootPath, 'Update.exe')
@@ -78,8 +73,4 @@ function execMainApp () {
require('./lib/main-app')
}
if (isFinderCalled()) {
require('./lib/finder-app')
} else {
execMainApp()
}
execMainApp()