mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Faster CI runs
This commit is contained in:
@@ -61,6 +61,11 @@ const fn = script.runInThisContext({
|
||||
|
||||
// See `ts/scripts/generate-preload-cache.ts`
|
||||
if (process.env.GENERATE_PRELOAD_CACHE) {
|
||||
// Use hottest cache possible in CI
|
||||
if (process.env.CI) {
|
||||
fn(require, __dirname);
|
||||
window.startApp();
|
||||
}
|
||||
writeFileSync(cachePath, script.createCachedData());
|
||||
ipcRenderer.send('shutdown');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user