From 2d393b6a10193b00cf037f062c434719c213d09e Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 20 Jun 2021 05:56:20 +0900 Subject: [PATCH] Update chrome.js --- lib/chrome.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/chrome.js b/lib/chrome.js index 2e1f1ff..4d9aa7c 100644 --- a/lib/chrome.js +++ b/lib/chrome.js @@ -105,20 +105,20 @@ var ChromeObject = function() { this.open = function(url) { this.setProfile(this.profileName, this.installedDir); - // 파일이 없는 경우, 32비트 설치 폴더에 위치하는지 한번 더 확인 + // if the file does not exists, Check the 32bit installation folder again if (!FILE.fileExists(this.binPath)) { this.workingDirectory = SYS.getEnvString("PROGRAMFILES(X86)") + "\\Google\\Chrome\\Application"; this.binPath = SYS.getEnvString("PROGRAMFILES(X86)") + "\\Google\\:installedDir\\Application\\chrome.exe"; this.setProfile(this.profileName, this.installedDir); } - // 파일 찾기 + // find profile if (!FILE.fileExists(this.binPath)) { - console.error("ChromeObject.open() -> '" + this.profileName + "' 존재하지 않는 프로파일입니다. 생성 후 사용해주세요."); + console.error("ChromeObject.open() -> '" + this.profileName + "' profile does not exists. You have to create it."); return this; } - // 바로가기 생성 + // create shoutcut to desktop this.createShoutcut(); /*