From dc914da33ed106b830a9f3b3c4f7e1d26fdc82f5 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Fri, 6 Oct 2017 16:41:43 +0200 Subject: [PATCH] Ensure that the $APP_DATA/extraterm directory exists before setting up the logging. Fixes #65 --- package.json | 2 +- src/Main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c7c259575..1f4ada54a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "extraterm", - "version": "0.29.1", + "version": "0.29.2", "description": "A terminal", "author": "Simon Edwards", "license": "MIT", diff --git a/src/Main.ts b/src/Main.ts index e6bf544cb..a8d859329 100755 --- a/src/Main.ts +++ b/src/Main.ts @@ -78,6 +78,7 @@ let titleBarVisible = false; function main(): void { let failed = false; + prepareAppData(); setUpLogging(); app.commandLine.appendSwitch('disable-smooth-scrolling'); // Turn off the sluggish scrolling. @@ -101,7 +102,6 @@ function main(): void { .option(EXTRATERM_DEVICE_SCALE_FACTOR + ' []', '(Internal Extraterm option. Ignore)') .parse(normalizedArgv); - prepareAppData(); // Themes const themesdir = path.join(__dirname, THEMES_DIRECTORY);