
- package: tis-openedfilesview-portable
- name: OpenedFilesView
- version: 1.91-1
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x64
- signature_date:
- size: 233.22 Ko
- homepage : https://www.nirsoft.net/utils/opened_files_view.html
package : tis-openedfilesview-portable
version : 1.91-1
architecture : x64
section : base
priority : optional
name : OpenedFilesView
categories : System and network
maintainer : WAPT Team,Tranquil IT,
description : OpenedFilesView displays the list of all opened files on your system
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : OpenedFilesView affiche la liste de tous les fichiers ouverts sur votre système
description_pl : OpenedFilesView wyświetla listę wszystkich otwartych plików w systemie
description_de : OpenedFilesView zeigt die Liste aller geöffneten Dateien auf Ihrem System an
description_es : OpenedFilesView muestra la lista de todos los archivos abiertos en su sistema
description_pt : OpenedFilesView apresenta a lista de todos os ficheiros abertos no seu sistema
description_it : OpenedFilesView visualizza l'elenco di tutti i file aperti sul sistema
description_nl : OpenedFilesView toont de lijst met alle geopende bestanden op uw systeem
description_ru : OpenedFilesView отображает список всех открытых файлов в вашей системе
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_public
homepage : https://www.nirsoft.net/utils/opened_files_view.html
package_uuid : f5eccad7-b1a8-47de-92f2-7ef434cede3c
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3d89cc8fc9c7134e8e3ae0f3d034a47f75c18d3d9352deaf63ea07fca5575b19
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-01T14:05:05.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : dCZfzEQqsmLt5w5Kmk5U5eQrk7UeMSZzEt90d1aoSrt5UseCulscpQMj4lLkHquEM289XO9AF1O6/SYc9G6sqDvvPJXwEZvWLkgcBi5c9iziYJeqNBZ+itPoEfjvGi2uGg880cGw30tvBkt14bcOAeyzsAMZbM6E8MI/ydmhOgG1x1nqN2DSoUSjKUIPjPdm3KIqP/4F46GZYFSELM7d3KUPsmaXDrDgPBg8LQ3vcLicLe3nrZ2DrvA9DCrl8QF31sNImgFrHAbfY3iLzSWQidblZkeFbLMN9r7xYLZpJyTKKZxWu0Adonmxx1HxJLubxKhzK32tZRTdAd7SJbRNZw==
# -*- coding: utf-8 -*-
from setuphelpers import *
import glob
app_name = "OpenedFilesView"
app_dir = makepath(programfiles, app_name)
def install():
bin_name = glob.glob('*.exe')[0]
app_path = makepath(app_dir, bin_name)
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
filecopyto(bin_name, app_path)
# Creating shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
for uninstall in installed_softwares('OpenedFilesView'):
uninstall_string = uninstall.get("uninstall_string", "")
print(f"Uninstalling OpenedFilesView: {uninstall_string}")
run(f"{uninstall_string} --uninstall --uninstall -s")
wait_uninstallkey_absent(uninstall['key'],max_loop=600)
if isdir(app_dir):
remove_tree(app_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
download_url= 'https://www.nirsoft.net/utils/ofview-x64.zip'
latest_bin = download_url.split('/')[-1]
#version
response =requests.get("https://www.nirsoft.net/utils/opened_files_view.html",proxies=proxies)
td_elements= bs_find_all(response.text, "td", proxies=proxies)
version = None
# Parcourir les éléments pour trouver la version
full_version_text = None
version_number = None
for td in td_elements:
text = td.get_text().strip()
if "OpenedFilesView v" in text:
# Extraire la partie contenant
full_version_text = text.split(" - ")[0] #
# Extraire seulement le numéro de version
version_number = full_version_text.split("v")[1].rsplit(' ')[0] #
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.zip'):
if f != latest_bin:
remove_file(f)
# Extracting the downloaded zip file
with zipfile.ZipFile(latest_bin, 'r') as zip_ref:
zip_ref.extractall()
file_list = zip_ref.namelist()
for filename in file_list :
if latest_bin.endswith('.exe') :
zip_ref.extract(latest_bin)
# Mettre à jour le package
control.set_software_version(version_number)
control.save_control_to_wapt()
9ab03fc5a5f7e67873600735899f3e3f044e87a9ea42522ac3f85b66699a9cd5 : OpenedFilesView.chm
bfb1a374772cccc06440ee3def14d6556d3b51c9e6de95b69917798b235e733b : OpenedFilesView.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c9452bdb01e6ac8568d9ddf703e2ad816759d8ee089f039f75f5d9248893aa01 : WAPT/control
3d89cc8fc9c7134e8e3ae0f3d034a47f75c18d3d9352deaf63ea07fca5575b19 : WAPT/icon.png
c4a69ddc3996cb99206ab670164fa3ed6ea32a09ff8e33b089912d3510905ace : luti.json
8d7f840ee5182ac8ab2011b93a8d961bbbcb67b6ed74e217e68547eb17411a7b : ofview-x64.zip
f85e38ea73f79aeefbb3dcaf1be62007c2b3d22bfb62a8b9dbfe64d8fd69198f : readme.txt
3e08f43ca48672b4bb0834c1eca6e0284c2cc9b27b21f13b78b582773f25a362 : setup.py
560808338f956590e8c35610f94e5a5b6bf4268a28de97f0386686fb17dbf62f : update_package.py