Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
add warning message for unix users
Browse files Browse the repository at this point in the history
  • Loading branch information
artiebits committed Sep 24, 2021
1 parent 4a9fc4f commit 1894ed3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ function throwNotSupportedError() {
switch (os.platform()) {
case "darwin":
case "linux":
console.warn(
"Pdf-to-printer will stop supporting Unix-like operating systems by the end of October 2021. Make sure you migrated to unix-print package https://github.com/artiebits/unix-print"
);
module.exports = {
print: require("./unix/print"),
getPrinters: require("./unix/get-printers"),
Expand Down

0 comments on commit 1894ed3

Please sign in to comment.