fix(ui): hide CUPS PPD uncorrected passthrough option on Windows (v0.1.7) #49

Merged
gronod merged 1 commits from fix/issue-48-hide-cups-ppd-windows into development 2026-08-24 23:34:43 +01:00
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "iccery",
"private": true,
"version": "0.1.6",
"version": "0.1.7",
"type": "module",
"scripts": {
"tauri": "tauri"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "iccery"
version = "0.1.6"
version = "0.1.7"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
+1 -1
View File
@@ -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"
+6
View File
@@ -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