mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
upd: upgrage pandoc
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user