From 95d93d67a3c4c9c03c51ca4f3df0b239cd05ba22 Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Sun, 7 Jul 2019 18:06:49 +0800 Subject: [PATCH] latex: Add 64bit installer (#204) --- bucket/latex.json | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/bucket/latex.json b/bucket/latex.json index 313d946670..fcaa64e14f 100644 --- a/bucket/latex.json +++ b/bucket/latex.json @@ -6,8 +6,32 @@ "url": "https://miktex.org/copying" }, "description": "An up-to-date implementation of TeX/LaTeX and related programs.", - "url": "https://ftp.fau.de/ctan/systems/win32/miktex/setup/windows-x86/basic-miktex-2.9.7100.exe", - "hash": "893505ea259a77a8a3744b64a1975a20abc57e4d270edc2d03affad36b3427dd", + "architecture": { + "64bit": { + "url": "https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x64/basic-miktex-2.9.7100-x64.exe", + "hash": "9aa26669c0cdf1b964829058d74aec2561270b22e4cc7ac43b1baa77cee8f26d", + "bin": [ + [ + "texmfs\\install\\miktex\\bin\\x64\\miktex-console.exe", + "miktex", + "--hide --mkmaps" + ] + ], + "env_add_path": "texmfs\\install\\miktex\\bin\\x64" + }, + "32bit": { + "url": "https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x86/basic-miktex-2.9.7100.exe", + "hash": "893505ea259a77a8a3744b64a1975a20abc57e4d270edc2d03affad36b3427dd", + "bin": [ + [ + "texmfs\\install\\miktex\\bin\\miktex-console.exe", + "miktex", + "--hide --mkmaps" + ] + ], + "env_add_path": "texmfs\\install\\miktex\\bin" + } + }, "installer": { "args": [ "--portable=\"$dir\"", @@ -15,21 +39,20 @@ "--private" ] }, - "bin": [ - [ - "texmfs\\install\\miktex\\bin\\miktex-console.exe", - "miktex", - "--hide --mkmaps" - ] - ], - "env_add_path": "texmfs\\install\\miktex\\bin", "persist": "texmfs\\config", "checkver": { "url": "https://miktex.org/download", "regex": "basic-miktex-([\\d.]+).exe" }, "autoupdate": { - "url": "https://ftp.fau.de/ctan/systems/win32/miktex/setup/windows-x86/basic-miktex-$version.exe", + "architecture": { + "64bit": { + "url": "https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x64/basic-miktex-$version-x64.exe" + }, + "32bit": { + "url": "https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x86/basic-miktex-$version.exe" + } + }, "hash": { "url": "https://miktex.org/download", "regex": "(?sm)$basename.*?$sha256"