diff options
Diffstat (limited to 'system/unhide/fixgui.diff')
-rw-r--r-- | system/unhide/fixgui.diff | 55 |
1 files changed, 36 insertions, 19 deletions
diff --git a/system/unhide/fixgui.diff b/system/unhide/fixgui.diff index 090eda948e..0e9500b16a 100644 --- a/system/unhide/fixgui.diff +++ b/system/unhide/fixgui.diff @@ -1,21 +1,14 @@ -diff -Naur Unhide-20220611/unhideGui.py Unhide-20220611.patched/unhideGui.py ---- Unhide-20220611/unhideGui.py 2022-06-11 05:30:24.000000000 -0400 -+++ Unhide-20220611.patched/unhideGui.py 2023-08-03 17:03:50.945488351 -0400 -@@ -1,4 +1,4 @@ +diff -Naur Unhide-20240510/unhideGui.py Unhide-20240510.patched/unhideGui.py +--- Unhide-20240510/unhideGui.py 2024-12-11 09:33:11.000000000 -0500 ++++ Unhide-20240510.patched/unhideGui.py 2025-06-14 17:58:49.115052346 -0400 +@@ -1,5 +1,4 @@ -#!/bin/python3 -+#!/usr/bin/env python3 +-# #!/usr/bin/python3 ++#!/usr/bin/python3 """ - Copyright © 2020-2022 Patrick Gouin -@@ -19,13 +19,15 @@ - """ - __author__ = "Patrick Gouin" - __copyright__ = "Copyright 2020-2022, Patrick Gouin" --__credits__ = [daichifukui] -+__credits__ = "daichifukui" - __license__ = "GPL V3" - __version__ = "1.1" - __maintainer__ = "Patrick Gouin" + Copyright © 2020-2024 Patrick Gouin +@@ -27,6 +26,8 @@ __email__ = "patrickg.github@free.fr" __status__ = "Production" @@ -24,21 +17,45 @@ diff -Naur Unhide-20220611/unhideGui.py Unhide-20220611.patched/unhideGui.py from tkinter import * from tkinter.ttk import * -@@ -187,7 +189,7 @@ +@@ -191,7 +192,7 @@ def GenCmd() : -- Cmd = './unhide-linux ' +- Cmd = unhPath + Cmd = '/usr/sbin/unhide-linux ' idx = 0 for opt in OptionBut : if opt[VARB].get() == '1' : -@@ -209,7 +211,7 @@ +@@ -213,7 +214,7 @@ CmdText.config(width = len(Cmd)) def GenTcpCmd() : -- Cmd = './unhide-tcp ' +- Cmd = unhtcpPath + Cmd = '/usr/sbin/unhide-tcp ' idx = 0 for opt in TcpOptionBut : if opt[VARB].get() == '1' : +@@ -460,23 +461,6 @@ + screen_height = root.winfo_screenheight() + root.geometry('+%d+%d' % (screen_width/3, screen_height/3)) + +-# look for unhide path +-# we prefer the local version +-if os.path.exists("./unhide-linux") : +- unhPath = "./unhide-linux " +-elif os.path.exists("./sbin/unhide-linux") : +- unhPath = "./sbin/unhide-linux " +-else : +- unhPath = "./usr/sbin/unhide-linux " +- +-if os.path.exists("./unhide-tcp") : +- unhtcpPath = "./unhide-tcp " +-elif os.path.exists("./sbin/unhide-tcp") : +- unhtcpPath = "./sbin/unhide-tcp " +-else : +- unhtcpPath = "./usr/sbin/unhide-tcp " +- +- + root.update() + + root.mainloop() |