Add custom QZ Tray fork with pairing key authentication
- Custom fork of QZ Tray 2.2.x with certificate validation bypassed - Implemented pairing key (HMAC) authentication as replacement - Modified files: PrintSocketClient.java (certificate check disabled) - New files: PairingAuth.java, PairingConfigDialog.java - Excluded build artifacts (out/, lib/javafx*) from repository - Library JARs included for dependency management
This commit is contained in:
15
tray/test/qz/installer/provision/resources/script4.py
Normal file
15
tray/test/qz/installer/provision/resources/script4.py
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
|
||||
def notify(title, message):
|
||||
os.system(f"notify-send '{title}' '{message}'")
|
||||
|
||||
title=os.getenv('APP_TITLE')
|
||||
version=os.getenv('APP_VERSION')
|
||||
printer="\U0001F5A8"
|
||||
tada="\U0001F389"
|
||||
|
||||
notify("{} {}".format(printer, title), """{} This is a sample message from {} {}.
|
||||
|
||||
This message indicates that provisioning startup tasks are working.""".format(tada, title, version))
|
||||
Reference in New Issue
Block a user