Improved dynamic loading of CSS and JS files!

This commit is contained in:
Scott Idem
2022-10-17 13:48:01 -04:00
parent f3558dc75b
commit 6e7dacc1e0
8 changed files with 235 additions and 63 deletions

View File

@@ -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') {