From 4afcdf7c37ce0359ee72a8f0b522411055f5518f Mon Sep 17 00:00:00 2001 From: iamcco Date: Sun, 28 Oct 2018 23:20:52 +0800 Subject: [PATCH] fix windows path and update to 0.0.3 --- app/out/404.html | 2 +- .../pages/404.js | 0 .../pages/_app.js | 0 .../pages/_error.js | 0 .../pages/index.js | 0 app/out/index.html | 2 +- app/server.js | 2 +- package.json | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) rename app/out/_next/static/{6ySwBsZidNQPHATa7G1Jq => gcUYLcchx6kcXxUGVJt7U}/pages/404.js (100%) rename app/out/_next/static/{6ySwBsZidNQPHATa7G1Jq => gcUYLcchx6kcXxUGVJt7U}/pages/_app.js (100%) rename app/out/_next/static/{6ySwBsZidNQPHATa7G1Jq => gcUYLcchx6kcXxUGVJt7U}/pages/_error.js (100%) rename app/out/_next/static/{6ySwBsZidNQPHATa7G1Jq => gcUYLcchx6kcXxUGVJt7U}/pages/index.js (100%) diff --git a/app/out/404.html b/app/out/404.html index 73704e5..7f9e81e 100644 --- a/app/out/404.html +++ b/app/out/404.html @@ -1 +1 @@ -
404
\ No newline at end of file +
404
\ No newline at end of file diff --git a/app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/404.js b/app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/404.js similarity index 100% rename from app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/404.js rename to app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/404.js diff --git a/app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/_app.js b/app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/_app.js similarity index 100% rename from app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/_app.js rename to app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/_app.js diff --git a/app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/_error.js b/app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/_error.js similarity index 100% rename from app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/_error.js rename to app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/_error.js diff --git a/app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/index.js b/app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/index.js similarity index 100% rename from app/out/_next/static/6ySwBsZidNQPHATa7G1Jq/pages/index.js rename to app/out/_next/static/gcUYLcchx6kcXxUGVJt7U/pages/index.js diff --git a/app/out/index.html b/app/out/index.html index 135a0f7..4a710c0 100644 --- a/app/out/index.html +++ b/app/out/index.html @@ -1 +1 @@ -「」
\ No newline at end of file +「」
\ No newline at end of file diff --git a/app/server.js b/app/server.js index 6b05e5f..973e492 100644 --- a/app/server.js +++ b/app/server.js @@ -1,5 +1,5 @@ // change cwd to ./app -if (!/^\/snapshot/.test(__dirname)) { +if (!/^(\/|C:\\)snapshot/.test(__dirname)) { process.chdir(__dirname) } else { process.chdir(process.execPath.replace(/(markdown-preview.nvim.*?app).+?$/, '$1')) diff --git a/package.json b/package.json index 492da0e..3ccd0dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "markdown-preview.vim", - "version": "0.0.2", + "version": "0.0.3", "description": "markdown preview plugin for (neo)vim", "bin": "./app/server.js", "repository": "https://github.com/iamcco/markdown-preview.vim.git",