mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-23 06:40:53 -05:00
5fb49ad375
- Move API, ARCHITECTURE, BUILD, DEVELOPMENT, and fix docs to docs/ - Move README variants and WINDOWS_BUILD to docs/ - Move assets and screenshots to docs/assets/ - Update GETTING_STARTED, README, CONTRIBUTOR_GUIDE, PROJECT_STRUCTURE, LOCAL_TESTING_WITH_SQLITE, VERSION_MANAGEMENT
1.5 KiB
1.5 KiB
Quick Fix for Symbolic Link Error
The Problem
electron-builder is still downloading winCodeSign tools even with code signing disabled, causing symbolic link errors.
⚡ Quick Fix (3 Steps)
Step 1: Clear Cache
scripts\clear-all-electron-cache.bat
Or in Git Bash:
./scripts/clear-all-electron-cache.sh
Step 2: Enable Developer Mode (One Time)
- Press
Win + I - Go to Privacy & Security → For developers
- Turn on Developer Mode
- Restart your terminal
Step 3: Build Again
scripts\build-desktop-simple.bat
🔧 Alternative: Use Environment Variable
Before building, set this environment variable:
Command Prompt:
set CSC_IDENTITY_AUTO_DISCOVERY=false
scripts\build-desktop-simple.bat
PowerShell:
$env:CSC_IDENTITY_AUTO_DISCOVERY="false"
.\scripts\build-desktop-windows.ps1
Git Bash:
export CSC_IDENTITY_AUTO_DISCOVERY=false
./scripts/build-desktop.sh
The build scripts now automatically set this variable, but if issues persist, set it manually.
✅ What's Already Fixed
desktop/package.jsonhassign: nullto disable code signing- Build scripts now set
CSC_IDENTITY_AUTO_DISCOVERY=falseautomatically - Cache clearing scripts created
- All build scripts updated
📋 Why This Works
CSC_IDENTITY_AUTO_DISCOVERY=false tells electron-builder to completely skip code signing, preventing it from downloading winCodeSign tools that cause symlink issues.
TL;DR: Clear cache + Enable Developer Mode = Problem solved!