diff --git a/src/build/jsConfig.js b/src/build/jsConfig.js index cc95d55..c4d15b9 100644 --- a/src/build/jsConfig.js +++ b/src/build/jsConfig.js @@ -27,9 +27,7 @@ exports.JSConfig = Class(function () { version: config.version || '', simulator: config.isSimulated && config.simulator, sdkVersion: config.sdkVersion || 'unknown', - splash: { - autoHide: true - }, + splash: manifest.splash || { autoHide: true }, useWebGL: manifest.browser && manifest.browser.canvas && manifest.browser.canvas.useWebGL || false }; diff --git a/src/build/streams/html.js b/src/build/streams/html.js index d477503..f169e18 100644 --- a/src/build/streams/html.js +++ b/src/build/streams/html.js @@ -255,7 +255,7 @@ exports.GameHTML = Class(function () { ]) .bind(this) .spread(function (css, js, splashExists, appCacheEvents) { - if (!splashExists && !config.isSimulated) { + if (!splashExists) { var splashPaths = { 'portrait': ['portrait2048', 'portrait1136', 'portrait1024', 'portrait960', 'portrait480'], diff --git a/src/build/targets/browser/index.js b/src/build/targets/browser/index.js index 16f692f..aec7e41 100644 --- a/src/build/targets/browser/index.js +++ b/src/build/targets/browser/index.js @@ -46,7 +46,7 @@ exports.init = function (api, app, config) { if (config.isSimulated) { config.browser = { - embedSplash: false, + embedSplash: true, embedFonts: false, appleTouchIcon: false, appleTouchStartupImage: false,