Skip to content

Commit

Permalink
upd: upgrage pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Mar 7, 2022
1 parent 8d8b72b commit 0180307
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/download-pandoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion src/main/server/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 0180307

Please sign in to comment.