Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: reenable open file from command line (#1301)

Ilianecc341826794
diff --git a/app/main.dev.ts b/app/main.dev.ts
index 86c13dcb4..939fa83e4 100644
--- a/app/main.dev.ts
+++ b/app/main.dev.ts
@@ -55,7 +55,7 @@ process.argv.forEach((arg, count) => {
} else if (arg.length > 2) {
// console.warn('Opening file: ' + arg);
if (arg !== './app/main.dev.js' && arg !== './app/') {
- startupFilePath = ''; // arg;
+ startupFilePath = arg;
}
}