fix(ui): hide CUPS PPD uncorrected passthrough option on Windows (v0.1.7) #49
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "iccery",
|
||||
"private": true,
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"tauri": "tauri"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "iccery"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "ICCery",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"identifier": "com.gronod.iccery",
|
||||
"build": {
|
||||
"frontendDist": "../src"
|
||||
|
||||
@@ -42,12 +42,18 @@ export function initPrinttarg() {
|
||||
const btnOrientLandscape = document.getElementById("btnOrientLandscape");
|
||||
const printerStatusBadge = document.getElementById("printerStatusBadge");
|
||||
const chkPpdFallback = document.getElementById("chkPpdFallback");
|
||||
const cupsOptionsGroup = document.getElementById("cupsOptionsGroup");
|
||||
const btnPrintAll = document.getElementById("btnPrintAll");
|
||||
const btnAdvanceToStage3 = document.getElementById("btnAdvanceToStage3");
|
||||
const printNotification = document.getElementById("printNotification");
|
||||
const printNotificationIcon = document.getElementById("printNotificationIcon");
|
||||
const printNotificationText = document.getElementById("printNotificationText");
|
||||
|
||||
const isWindows = navigator.userAgent.includes("Windows") || (navigator.userAgentData && navigator.userAgentData.platform === "Windows");
|
||||
if (isWindows && cupsOptionsGroup) {
|
||||
cupsOptionsGroup.classList.add("hidden");
|
||||
}
|
||||
|
||||
let selectedOrientation = "portrait";
|
||||
|
||||
// Orientation toggle buttons
|
||||
|
||||
Reference in New Issue
Block a user