File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ jobs:
114114 key : electron-bin-${{ runner.os }}-${{ hashFiles('electron/package.json') }}
115115 restore-keys : electron-bin-${{ runner.os }}-
116116
117+ # Disable Windows Defender real-time scanning — causes massive I/O slowdown
118+ # when 7z processes thousands of small files in node_modules
119+ - name : Disable Windows Defender (Windows only)
120+ if : runner.os == 'Windows'
121+ run : Set-MpPreference -DisableRealtimeMonitoring $true
122+ shell : powershell
123+
117124 - name : Install all dependencies
118125 run : npm install --ignore-scripts
119126
@@ -140,7 +147,7 @@ jobs:
140147 env :
141148 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142149 DEBUG : electron-builder
143- ELECTRON_BUILDER_COMPRESSION_LEVEL : 1
150+ ELECTRON_BUILDER_COMPRESSION_LEVEL : 0
144151 # Code signing (optional - add when certificates are available)
145152 # CSC_LINK: ${{ secrets.MAC_CERT_P12 }}
146153 # CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }}
You can’t perform that action at this time.
0 commit comments