Skip to content

Commit

Permalink
Ensure that the $APP_DATA/extraterm directory exists before setting u…
Browse files Browse the repository at this point in the history
…p the logging.

Fixes #65
  • Loading branch information
sedwards2009 committed Oct 6, 2017
1 parent 2e1612b commit dc914da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extraterm",
"version": "0.29.1",
"version": "0.29.2",
"description": "A terminal",
"author": "Simon Edwards",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);
Expand Down

0 comments on commit dc914da

Please sign in to comment.