TagSpaces is an offline, open source, document manager with tagging support
fix e2e win
Stanimirc68fef6e2e74
diff --git a/src/main/mainEvents.ts b/src/main/mainEvents.tsindex 9fabe0256..ef8b9eca3 100644--- a/src/main/mainEvents.ts+++ b/src/main/mainEvents.ts@@ -30,7 +30,6 @@ import {postRequest,readMacOSTags,} from './util';-import { stopWatching, watchFolder } from './chokidarWatcher';//let watcher: FSWatcher;const progress = {};diff --git a/src/renderer/hooks/CurrentLocationContextProvider.tsx b/src/renderer/hooks/CurrentLocationContextProvider.tsxindex 87512b096..eaaec00a8 100644--- a/src/renderer/hooks/CurrentLocationContextProvider.tsx+++ b/src/renderer/hooks/CurrentLocationContextProvider.tsx@@ -163,7 +163,8 @@ export const CurrentLocationContextProvider = ({if (locationPath &&- locationPath.startsWith('.' + AppConfig.dirSeparator) &&+ (locationPath.startsWith('.' + AppConfig.dirSeparator) ||+ locationPath.startsWith('./')) && // location paths are not with platform dirSeparatorAppConfig.isElectron) {// TODO test relative path (Directory Back) with other platforms