diff --git a/src/main/apis/app/window/windowList.ts b/src/main/apis/app/window/windowList.ts index 5f33ea6..d3aa9ae 100644 --- a/src/main/apis/app/window/windowList.ts +++ b/src/main/apis/app/window/windowList.ts @@ -22,8 +22,6 @@ const handleWindowParams = (windowURL: string) => { const getDefaultWindowSizes = (): { width: number, height: number } => { const mainWindowWidth = picgo.getConfig('settings.mainWindowWidth') const mainWindowHeight = picgo.getConfig('settings.mainWindowHeight') - console.log('mainWindowWidth', mainWindowWidth) - console.log('mainWindowHeight', mainWindowHeight) return { width: mainWindowWidth || 1200, height: mainWindowHeight || 800 diff --git a/src/universal/utils/common.ts b/src/universal/utils/common.ts index aaf8586..3c279e2 100644 --- a/src/universal/utils/common.ts +++ b/src/universal/utils/common.ts @@ -12,7 +12,7 @@ export const isUrlEncode = (url: string): boolean => { return url !== decodeURI(url) } catch (e) { // if some error caught, try to let it go - return true + return false } }