Improved dynamic loading of CSS and JS files!
This commit is contained in:
2
index.js
2
index.js
@@ -84,6 +84,8 @@ function createWindow () {
|
||||
// and load the index.html of the app.
|
||||
if (config.native_app_js_css_option == '' || config.native_app_js_css_option == 'default') {
|
||||
win.loadFile('app/index.html');
|
||||
} else if (config.native_app_js_css_option == 'primary') {
|
||||
win.loadFile('app/index_primary.html');
|
||||
} else if (config.native_app_js_css_option == 'development_internal') {
|
||||
win.loadFile('app/index_development_internal.html');
|
||||
} else if (config.native_app_js_css_option == 'development_localhost') {
|
||||
|
||||
Reference in New Issue
Block a user