Fix for theme trimming
This commit is contained in:
parent
a1f55a7be1
commit
9d306ed4e1
1
splice
1
splice
|
@ -60,7 +60,6 @@
|
|||
split.splice(0, 1);
|
||||
theme = split.join('\n');
|
||||
theme = theme.replace(/(\r\n|\n|\r)/gm,'');
|
||||
theme = theme.replace(/\s/g, '');
|
||||
mainWindow.webContents.executeJavaScript('(function() { bdthemes["'+themeName+'"] = { "enabled": false, "name": "'+themeName+'", "css": "'+escape(theme)+'", "description": "'+themeDescription+'", "author":"'+themeAuthor+'", "version":"'+themeVersion+'" } })();');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue