mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use a different entry script to generate the startup snapshot
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = function () {
|
||||
])
|
||||
const snapshotScriptContent = electronLink({
|
||||
baseDirPath: CONFIG.intermediateAppPath,
|
||||
mainPath: path.join(CONFIG.intermediateAppPath, 'src', 'initialize-application-window.js'),
|
||||
mainPath: path.join(CONFIG.intermediateAppPath, 'src', 'initialize-snapshot.js'),
|
||||
shouldExcludeModule: (modulePath) => {
|
||||
const relativePath = path.relative(CONFIG.intermediateAppPath, modulePath)
|
||||
return (
|
||||
|
||||
5
src/initialize-snapshot.js
Normal file
5
src/initialize-snapshot.js
Normal file
@@ -0,0 +1,5 @@
|
||||
require('./update-process-env')
|
||||
require('./window')
|
||||
require('./atom-environment')
|
||||
require('./application-delegate')
|
||||
require('./clipboard')
|
||||
Reference in New Issue
Block a user