Skip to content

Commit

Permalink
增加 chrome path log
Browse files Browse the repository at this point in the history
  • Loading branch information
niuniuland committed Dec 10, 2023
1 parent 38cfb96 commit 34ce200
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions packages/main/src/fingerprint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 34ce200

Please sign in to comment.