diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9332adb..3dd402e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,10 +42,6 @@ jobs: - name: Create .env.production.local file run: | - # 检查环境变量是否存在 - echo "VITE_APP_API length: ${#VITE_APP_API}" - echo "VITE_SUPABASE_URL length: ${#VITE_SUPABASE_URL}" - echo "VITE_SUPABASE_ANON_KEY length: ${#VITE_SUPABASE_ANON_KEY}" # 创建 .env.production.local 文件 echo "VITE_APP_API=${{ secrets.VITE_APP_API }}" > .env.production.local echo "VITE_SUPABASE_URL=${{ secrets.VITE_SUPABASE_URL }}" >> .env.production.local diff --git a/packages/main/src/fingerprint/index.ts b/packages/main/src/fingerprint/index.ts index 77fa039..bc481e8 100644 --- a/packages/main/src/fingerprint/index.ts +++ b/packages/main/src/fingerprint/index.ts @@ -116,6 +116,9 @@ export async function openFingerprintWindow(id: number) { } else { chromePath = join(process.resourcesPath, 'Chrome-bin', 'chrome.exe'); } + logger.info(`env: ${import.meta.env.DEV}`); + logger.info(`Chrome path: ${chromePath}`); + let ipInfo = {timeZone: '', ip: '', ll: [], country: ''}; if (windowData.proxy_id && proxyData.ip) {