Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
v2.9.2 - upgrade Electron, and fix Docker build
Browse files Browse the repository at this point in the history
- Upgrade to Electron 1.6.11
- Fix broken build due to missing `libasound2`
- Bump version
  • Loading branch information
MrSaints committed Jun 20, 2017
1 parent 953cef2 commit 1559328
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt-get -yq update && \
apt-get -yq install \
wget \
xvfb \
libasound2 \
libgconf-2-4 \
libgtk2.0-0 \
libnotify4 \
Expand Down
6 changes: 3 additions & 3 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "athenapdf",
"version": "2.9.0",
"version": "2.9.2",
"description": "A simple CLI tool to convert HTML to PDF from a local file or a URL to a web page using Electron (Chromium).",
"keywords": "electron, chrome, cli, html, pdf, converter, generate",
"homepage": "https://www.athenapdf.com/",
Expand All @@ -19,12 +19,12 @@
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf build/",
"build:prepare": "mkdir -p build/ && cp -r src/ build/artifacts/ && cp package.json build/artifacts/ && cd build/artifacts/ && npm i --production",
"build:linux": "electron-packager build/artifacts/ athenapdf --platform=linux --arch=x64 --version=1.6.1 --out=build/ --overwrite --asar=true",
"build:linux": "electron-packager build/artifacts/ athenapdf --platform=linux --arch=x64 --version=1.6.11 --out=build/ --overwrite --asar=true",
"build": "npm run clean && npm run build:prepare && npm run build:linux"
},
"dependencies": {
"commander": "^2.9.0",
"electron": "1.6.1",
"electron": "1.6.11",
"rw": "^1.3.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion cli/src/athenapdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const addHeader = (header, arr) => {
}

athena
.version("2.9.0")
.version("2.9.2")
.description("convert HTML to PDF via stdin or a local / remote URI")
.option("--debug", "show GUI", false)
.option("-T, --timeout <seconds>", "seconds before timing out (default: 120)", parseInt)
Expand Down

0 comments on commit 1559328

Please sign in to comment.