upd: upgrage pandoc

This commit is contained in:
purocean
2022-03-07 23:11:21 +08:00
parent 8d8b72bf1b
commit 0180307d6c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"binaries": [
"out/mac/Yank Note.app/Contents/Resources/app.asar.unpacked/bin/darwin-pandoc-2.7.3"
"out/mac/Yank Note.app/Contents/Resources/app.asar.unpacked/bin/darwin-pandoc-2.17.1.1"
],
"target": [
"dmg",
+1 -1
View File
@@ -3,7 +3,7 @@ const fs = require('fs')
const path = require('path')
const request = require('request')
const filename = os.platform() + '-' + 'pandoc-2.7.3' + (os.platform() === 'win32' ? '.exe' : '')
const filename = os.platform() + '-' + 'pandoc-2.17.1.1' + (os.platform() === 'win32' ? '.exe' : '')
const downloadUrl = 'https://github.com/purocean/yn/releases/download/v1.1/' + filename
const dir = path.join(__dirname, '../bin')
+1 -1
View File
@@ -4,7 +4,7 @@ import * as path from 'path'
import { spawn } from 'child_process'
import { BIN_DIR, PANDOC_REFERENCE_FILE, RESOURCES_DIR, USER_DIR } from '../constant'
const binPath = path.join(BIN_DIR, os.platform() + '-pandoc-2.7.3' + (os.platform() === 'win32' ? '.exe' : ''))
const binPath = path.join(BIN_DIR, os.platform() + '-pandoc-2.17.1.1' + (os.platform() === 'win32' ? '.exe' : ''))
const docxTplPath = path.join(USER_DIR, PANDOC_REFERENCE_FILE)
const filterPath = path.join(RESOURCES_DIR, './pandoc-filter.lua')