mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 07:00:03 +00:00
Fix file separator for Windows
This commit is contained in:
parent
aafe775779
commit
ea318bab6e
@ -67,7 +67,7 @@ function loadStore(store) {
|
|||||||
for(var p=0; p<pluginFolders.length; p++) {
|
for(var p=0; p<pluginFolders.length; p++) {
|
||||||
const pluginFolderName = pluginFolders[p];
|
const pluginFolderName = pluginFolders[p];
|
||||||
if(!$tw.boot.excludeRegExp.test(pluginFolderName)) {
|
if(!$tw.boot.excludeRegExp.test(pluginFolderName)) {
|
||||||
var pluginFields = $tw.loadPluginFolder(path.resolve(folder,"./" + pluginFolderName));
|
var pluginFields = $tw.loadPluginFolder(path.resolve(folder,pluginFolderName));
|
||||||
if(pluginFields && pluginFields.title) {
|
if(pluginFields && pluginFields.title) {
|
||||||
savePlugin(pluginFields,type,publisher,pluginFolderName);
|
savePlugin(pluginFields,type,publisher,pluginFolderName);
|
||||||
}
|
}
|
||||||
@ -79,7 +79,7 @@ function loadStore(store) {
|
|||||||
for(var t=0; t<publisherFolders.length; t++) {
|
for(var t=0; t<publisherFolders.length; t++) {
|
||||||
const publisherFolderName = publisherFolders[t];
|
const publisherFolderName = publisherFolders[t];
|
||||||
if(!$tw.boot.excludeRegExp.test(publisherFolderName)) {
|
if(!$tw.boot.excludeRegExp.test(publisherFolderName)) {
|
||||||
collectPlugins(path.resolve(folder,"./" + publisherFolderName),type,publisherFolderName);
|
collectPlugins(path.resolve(folder,publisherFolderName),type,publisherFolderName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user