tis-waptdev-package-tools
0.0.435-0
Package to add new advanced WAPT actions in VSCode
5543 downloads
See build result See VirusTotal scan
Description
- package : tis-waptdev-package-tools
- name : WAPT Dev Package Tools
- version : 0.0.435-0
- categories : Development
- maintainer : WAPT Team,Tranquil IT
- installed_size : 1156990
- editor :
- licence : wapt_public
- signature_date : 2024-09-11T16:14:21.000000
- size : 294.06 Ko
- locale : all
- target_os : all
- impacted_process :
- architecture : all
- Depends :
- Conflicts :
control
package : tis-waptdev-package-tools
version : 0.0.435-0
architecture : all
section : base
priority : optional
name : WAPT Dev Package Tools
categories : Development
maintainer : WAPT Team,Tranquil IT
description : Package to add new advanced WAPT actions in VSCode
depends : tis-waptdev,tis-vscode-config
conflicts : tis-extracticon
maturity : PROD
locale : all
target_os : all
min_wapt_version : 2.3
sources :
installed_size : 1156990
impacted_process :
description_fr : Paquet pour ajouter de nouvelles actions WAPT avancées dans VSCode
description_pl : Pakiet dodający nowe zaawansowane akcje WAPT w VSCode
description_de : Paket zum Hinzufügen neuer fortgeschrittener WAPT-Aktionen in VSCode
description_es : Paquete para añadir nuevas acciones avanzadas WAPT en VSCode
description_pt : Pacote para adicionar novas acções WAPT avançadas no VSCode
description_it : Pacchetto per aggiungere nuove azioni WAPT avanzate in VSCode
description_nl : Pakket om nieuwe geavanceerde WAPT-acties toe te voegen in VSCode
description_ru : Пакет для добавления новых расширенных действий WAPT в VSCode
audit_schedule :
editor :
keywords :
licence : wapt_public
homepage :
package_uuid : 6b18afd9-dc11-4102-be12-e94a1184c8a4
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3078632e09e88905a16939aca654ceda7fd5d7acd4d42c79d49d2f1d5943d363
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-11T16:14:21.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 : gSmL0oS5Bk2bH9NNQ98UJa2BbqMho6kbzHoB8DnVYrpBHZmBTa2DM7k02V+pqgS69lXlpPo43WDAbElyM5fOA0d/CtgWiS0Vqa3wdoEMZlO0vW20eVr5rTQwRvPD/SRnx5CyUa9Out2/PDEpNcI6WOcGzhD2Y2HOwtUKf6tMeF40DenIIuZIPBpNkzdJJLcQDPsyPz5rsI3YvPns8hJC3NKOC3TNYW9FwDjdqOw8O10lmAm1wogsgALaIRYCq994MTOZ5ertZQOr8zrty2dKEQstyvUYFTgYyBsDUgrNGxUsBSZklCQrYYbN/zpzpC66V94WZJJHwSqUK5NkaRPSKw==
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
package_tools_path = makepath(get_public_persistent_dir(), "package-tools")
vscode_launch_custom_path = makepath(WAPT.wapt_base_dir, "templates", "vscode_launch_custom.json")
if not isdir(get_public_persistent_dir()):
print(f'Creating: "{get_public_persistent_dir()}"')
mkdirs(get_public_persistent_dir())
if isdir(package_tools_path):
remove_tree(package_tools_path)
print(f'Copying: "{package_tools_path}"')
copytree2(makepath(basedir, "package-tools"), package_tools_path)
print(f'Updating: "{vscode_launch_custom_path}"')
update_vscode_launches(
vscode_launch_custom_path,
package_tools_path,
)
filecopyto(vscode_launch_custom_path, makepath(WAPT.wapt_base_dir, "templates", "vscode_launch.json")) # Until WAPT code is adapted
def audit():
package_tools_path = makepath(get_public_persistent_dir(), "package-tools")
vscode_launch_custom_path = makepath(WAPT.wapt_base_dir, "templates", "vscode_launch_custom.json")
audit_status = "OK"
if not isdir(package_tools_path):
print("Missing: %s\nReinstalling package..." % package_tools_path)
WAPT.install(control.package, force=True)
audit_status = "WARNING"
if not isfile(vscode_launch_custom_path):
print("Missing: %s\nReinstalling package..." % package_tools_path)
WAPT.install(control.package, force=True)
audit_status = "WARNING"
return audit_status
def uninstall():
package_tools_path = makepath(get_public_persistent_dir(), "package-tools")
if isdir(package_tools_path):
print("Removing: %s" % package_tools_path)
remove_tree(package_tools_path)
uninstall_vscode_launches()
def update_vscode_launches(vscode_launch_custom_path, package_tools_path):
new_launches_json = makepath(package_tools_path, "package-template", "vscode_launch_custom.json")
# launch_path = makepath(WAPT.wapt_base_dir, "templates", "vscode_launch.json")
launch_path = makepath(package_tools_path, "package-template", "vscode_launch.json")
launch_content = json_load_file(makepath(launch_path))
# getting every property including "DEV"
configuration_to_remove = []
for i in range(len(launch_content["configurations"])):
if "DEV" in launch_content["configurations"][i]["name"]:
configuration_to_remove.append(i)
# removing every index in reverse order
for i in reversed(configuration_to_remove):
# print("removing %s" % launch_content["configurations"][i]["name"])
del launch_content["configurations"][i]
new_launches = json_load_file(new_launches_json)
existing_launches = [launch["name"] for launch in launch_content["configurations"]]
for launch in new_launches["configurations"]:
if launch["name"] not in existing_launches:
# print(f"adding {launch['name']} to vscode_launch.json")
launch["program"] = launch["program"].replace(
r"{package_tools_path}/", "/".join(package_tools_path.split(os.sep) + ["package-template", ""])
)
launch_content["configurations"].append(launch)
# Write the modified data back to the file
# print("updating vscode launchs.json")
json_write_file(vscode_launch_custom_path, launch_content)
def uninstall_vscode_launches():
launch_path = makepath(WAPT.wapt_base_dir, "templates", "vscode_launch.json")
launch_content = json_load_file(launch_path)
# getting every property including "DEV"
configuration_to_remove = []
for i in range(len(launch_content["configurations"])):
if "DEV" in launch_content["configurations"][i]["name"]:
configuration_to_remove.append(i)
# removing every index in reverse order
for i in reversed(configuration_to_remove):
# print("removing %s" % launch_content["configurations"][i]["name"])
del launch_content["configurations"][i]
# Write the clean data back to the file
json_write_file(launch_path, launch_content)
def get_public_persistent_dir():
"""
Get the path to the public persistent directory.
Returns:
str: Path to the public persistent directory.
"""
try:
return makepath(WAPT.wapt_base_dir, "public", "persistent")
except Exception:
if get_os_name() == "Windows":
try:
return makepath(installed_softwares(uninstallkey="WAPT_is1")[0]["install_location"], "public", "persistent")
except Exception:
return makepath(programfiles32, "wapt", "public", "persistent")
else:
return "/opt/wapt/public/persistent"
update_package.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
# Change package version based on commit_count
if params.get("commit_count", 0):
commit_count = params.get("commit_count", 0)
else:
commit_count = str(int(run("git rev-list HEAD --count").split("\n")[0]) + 1)
split_version = control.get_software_version().split(".")
split_version[2] = str(commit_count)
version = ".".join(split_version)
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
6c3118add4ffbe432ef4ef74e7686aa534920e3e94001ff8e37dbcea8b8edd7b : WAPT/changelog.txt
50f897725586cac2585609b9323bc35f44f76fbef2c5634091b23408325c67bc : WAPT/control
3078632e09e88905a16939aca654ceda7fd5d7acd4d42c79d49d2f1d5943d363 : WAPT/icon.png
ce180350aa58df96e85f38499e5bab3d70ca4bf7145b59946ffae4585a720a3e : luti.json
: package-tools
88f765ce5c55b60fa8c989ef28b3c95b86d43c817f2666d8aa8171984e2e9951 : package-tools/code-examples/add_dictionnaries.py
715283a362266b2727bd3efc91e7a51256dd27095124090f51948022cbcfe763 : package-tools/code-examples/add_user_rights_folder-icacls.py
f8d1d5192551e20c0182b68dd256bcf59b1599a52a8eac3801d5018e13a8e124 : package-tools/code-examples/admin-registry_set-in-user-env-without-delay.py
76ec577345044e19c9bfce9d9c28e4bf248db9365dc890d9b57db7fea175bb7f : package-tools/code-examples/ask-waptmessage-html.py
f74dfe03c41b802a567a01b22e1f73faff39d11ac27d8dc8c737d898cd6f4e52 : package-tools/code-examples/audit-multiple-values.py
6575bde6c07066f5465dd22416acd92fbb711a094fc626fd5af849803cbf26ef : package-tools/code-examples/audit_basic_function.py
3360bc6b02bc92470304ef3fe53bb8669b15f7224341ba246369de6fe7250b23 : package-tools/code-examples/avoid_file_not_found_in_install.py
930658eb60c2f5a954ec6aeb6317ec2ebabcf264e2c9a2ed55ea4bbdc1b7dcb7 : package-tools/code-examples/bs_find.py
bf6cf8e26b298f364e28f20ae691f6808002c1b0f067b08f80dcb3dc1b36427a : package-tools/code-examples/bypass_min_version_install_if_needed.py
63e2950c5e9d89e636d516d4565c3b6302043d246a00bf16a9d2b5e263514af1 : package-tools/code-examples/change-install_location.py
4651ad90938341d63e619893e3a4af489c2408365a59f82ba1d59fddb6e70b88 : package-tools/code-examples/check_if_enterprise.py
0c5e8bdd4532595de9e5e1c2adcaedb679ecadb65bc0588699113885eeb2176a : package-tools/code-examples/check_if_installed.py
c50998951391aa713a76c10285336f7c4c0e187694635f32ef54cf422d8e92f4 : package-tools/code-examples/cleanup-sensitive-data.py
de34565407b90ba317752e2772933a4e2cfdf7d57176b2ffbe6f1696710e19d9 : package-tools/code-examples/compare_dates.py
2a0c1b765042cc62ae5ff255a59079867a8fb8c8ae84fd2f7d0ad2f78163c851 : package-tools/code-examples/csv.py
dc38f247221ff4f6c2355ef896ceb5ae6199a050c13fb5e880fb42ccb40b51e6 : package-tools/code-examples/debug_see_wapt_functions.py
ad35f4adffcfc14e12d4a190e87ca5fdc4d25e797c6be8694f84e87692f127f6 : package-tools/code-examples/dependency_package.py
5c45f055c135cc5d60eb2d63e2f2526496b3a4fedaebc7cd8d5eb7405b6d20b9 : package-tools/code-examples/dirty_json.py
17399a578f39f12772160455e3a60e933726c0265a4682f749edbb734c2817e1 : package-tools/code-examples/disable-app-services-scheduled-tasks.py
017f313f78796004eef3a1cabdb8f100058ee53167d85f4f0a4f7a77ce7691ce : package-tools/code-examples/download-and-install-kbs-multi-os-and-multi-kb.py
8d0906bc7fc158c56cfee599a87640cdbd846bf5a257a9aa1f62ab366ee090c5 : package-tools/code-examples/download_link_based_on_bin.py
a369b180061ea7404ceb824a82ae75c4081bf61cbfccfbca2b9205a9c59d4490 : package-tools/code-examples/download_link_based_on_suffix_bin.py
9577c66bc88fae9aff3e1942c627f183dfe8a81eb6843cbd795bce4fa779ba19 : package-tools/code-examples/download_with_online_installer.py
5a21e1883aa4f437077666c09e17f4fc2f3b17e2b57dd84eee006bb581714c30 : package-tools/code-examples/edit_config_raw_file.py
2d88a0b781b594fbb0cd3057d5e146d7dcffe34cbdfd38e7fe71faa255904898 : package-tools/code-examples/edit_jsons_file.py
fd60e603d31d821d1216d0ee0559980078e547edde9b158e11c3cd3818b35f9e : package-tools/code-examples/empty-package.py
d134b0defd68432d9f0b9c61d5016d6417b8e50b8ef7bdebaa59c235ff190518 : package-tools/code-examples/file_system_redirection-certifi-debug.py
75d208fb94ae9e312f5675d8723efc7f906349e4bc9db63c1c8a9439e1d155b5 : package-tools/code-examples/fix_encoding.py
35386a0f8199da21c6dd3c56a7380e8f520026e497e52a9019f0a574d9b30ca1 : package-tools/code-examples/fix_up_package_skip_if_package.py
e69077b762a4b21fbe06bf4b37672c0b2dfabe9aa161d3f6eb32bb6503f2d935 : package-tools/code-examples/forget-package.py
47616f8c466b24613cf03398dfe146c9f017f283b3fa97ee34faa351f9c97a70 : package-tools/code-examples/formatting-dict.py
82a805b96732d23ae12952cd6ffeffaefcbf43b87ce8cd21d9527ef38423b4e4 : package-tools/code-examples/get-version-from-bin-in-zip.py
01008cd8dc04865f011bf61d55b795aba0a880a278cd890b831683dcd86496d3 : package-tools/code-examples/get_default_package_prefix.py
0fdcfac9c9500d5880ae14c3dea0a1c45245a41ccfbb229d66edb6fa13e272a7 : package-tools/code-examples/get_powershell_str.py
5534d42a82954631488acdbc5b09470eb10ba191f01c269f06c827dae65714ca : package-tools/code-examples/get_proxies_template.py
b34bde61c1b41f3994ce333ae3301ec206d911a09c871514a6f518c7d4ea2a65 : package-tools/code-examples/get_scheduled_tasks.py
1229d3b4f77331fd973539e6912f33ee2d602ae7c8b98525c9b59a7cf4045a57 : package-tools/code-examples/global_variables.py
b5c856b9185cf60451d90931940d27a0b153e591a8d67e2c54cb5a179a5906ed : package-tools/code-examples/globally-search-files-with-recursive-glob.py
4eb30203355e2320551889b8854e052ca055f641f77112fe6407fdea8e5cfb2d : package-tools/code-examples/import-local-python-file.py
cb63691a681623cbd1c032f38ce2703ac056d81a0fb83d3a92e1e8712d04a63c : package-tools/code-examples/inifile.py
e03096784938ab8d00236916b1eae7eb2c33a6fe1fb1e4926569237b9bc2f2bb : package-tools/code-examples/install-getVersionAndSwitches.py
663f41a08c9cb6cf28b967aea17a504ebaebe6f52e2050837b95af28065a5578 : package-tools/code-examples/install_in_session_setup_v1.py
5fcde459b3e1c94bd37c4c2123497ce02c56e7b4661a2a999e93d01c9dd72a12 : package-tools/code-examples/installing-after-session-opened.py
f6fc3eb4a510154465ab8f7e2cfcbefb54494c0a667078bfc661ca807c4ee4b4 : package-tools/code-examples/interact-on-error-code.py
5ad28aa2b4d5f60cbf7a46debb24cf0a09859abf08c3dbde9306cf606df0b85d : package-tools/code-examples/interactive_process.py
9a94ac7991f87dea0219cd717a853f9c906c93d6c1f531d5f272137e713d3936 : package-tools/code-examples/isrunning.py
5a07066b5aee433a2452b802ffc6ccd1ef28060c5316cc4bf5b91f37a6a40f35 : package-tools/code-examples/json_proper_writing.py
c2590bf2fce9b7712d4d8e6dc7d8e2b0983be9a410ed51d92e6bd0a0008c79ff : package-tools/code-examples/linux-base-simple.py
7b912cd57dc70ebb434eb82bc33fc6f795442125dc2af9531cbffd5136012d8a : package-tools/code-examples/linux-base.py
d8fa2b68a6b1f20acc1eba8480081ecf863c1fa83047eb2d1ee9363fbefa424c : package-tools/code-examples/linux-dual_arch.py
ab02b2436c1d767635c9638b3c4d2431b756a89aa4ac717a98dc828b5b48a163 : package-tools/code-examples/linux_base_v2.py
81efe1a83a0ad915860f4716615e0166887555cc279c8bbdb9fd273d42a79c95 : package-tools/code-examples/list_properly.py
8c32b648af8e1d4c9156615f5f1faaf56340eff80c7f42c75394039d04245ae1 : package-tools/code-examples/manipulate_pythonpath.py
e74d202a1fed32fa123c92405c30241902934752be203c6139c938e3d86cc4fe : package-tools/code-examples/manipulate_systemprofile.py
ed3e848e9b81a4dbf377cd0eb43cc30714a88b653aaa66ef93e32b5995b5384a : package-tools/code-examples/manual_install_exe_if_needed.py
b06a7ffd19ed2e6e8df4bf5715143f983b52b3685bf2edf226b57aedd204f7aa : package-tools/code-examples/merge_data.py
40305cb94781843289985a456c2efef560217b0c9eaa177e755cf2ec3e949000 : package-tools/code-examples/merge_dicts.py
1de7a348c28cd8de2cad2720c65f3d39aa549b170346b2118d346d5c901d3b9a : package-tools/code-examples/message_box.py
ac65cec2d5d12a94dd7a8d87f83712cde4c2d2d526aa984b712942eab7754cfb : package-tools/code-examples/move_directory.py
0f8fb227872ce4d431cfa1963eabbdf2e1fa99113815dd365f8c199dab624b01 : package-tools/code-examples/move_file.py
9bea1ae129e6ccfa676971957c60d3e0d80833b7f52d4d5ab708c728ac18313c : package-tools/code-examples/multiple-comparaison_list-comprehension.py
dc95febfa9937a97950ecb363b7144a95d687106f351d1145c312f3dfb6017f1 : package-tools/code-examples/multiple-kb-download-install.py
80f6100673672006174459e4d58349580f364a4ab21cc63e394012627ae671f5 : package-tools/code-examples/print_a_dict.py
a07d9b78a07a4e8755491829a203875b1a92f252804d20237b64ee7c856ab57a : package-tools/code-examples/proper_install_with_incomplete_registry_entry.py
0c7a9efa477f160eeca2f18f025e6caa5c2a2963500183eba5e7a7a2831dc74b : package-tools/code-examples/public_persistent.py
e2c0108602c5c581de1ad4b3a26fde096dc90d38d305f0ef359170738acbda78 : package-tools/code-examples/read-write-files.py
1fba98188ca5f75ec3b706df76f671a719c648618e9ca1175bc7c6656b37312d : package-tools/code-examples/reboot-checks.py
9919b32fcaea5e8acebcae784ea5013bf3546db77337a2e2f233f61a004932fc : package-tools/code-examples/registry_key_verification.py
bd67a9bf77e89910616fe2f0f2bb0da61024fc55ef4cf2aafb27a0471048534d : package-tools/code-examples/remove_allusers_desktop_shortcut.py
acd014a8d674dd94fb2251c2d04fdb1fc72bb96a1d058bc07ae358273c5b3479 : package-tools/code-examples/remove_app_dir.py
ad305935143717f01d2dbc85ef2abd341023156078dfd5eac8779db317031cef : package-tools/code-examples/remove_desktop_shortcut.py
683b048ed54e92661ab4708aeae82c438c1e72a2c7dccc785b635b9014d4e1ce : package-tools/code-examples/remove_dir_in_uninstall.py
32edca69d92e9bda57ac8d7de88907016bb7a7cbb6cc3cc10aa7c8ebc21ae55b : package-tools/code-examples/remove_drivers.py
1f5464b5f46cfad6ccbf4a0d185e0d66b1b6e0b8e290df6091aa9b6411235ba8 : package-tools/code-examples/remove_editor_dir.py
559857bd91245b06e654bf2224ddcbe76764b85246a3eee78cfeb427583ec3bd : package-tools/code-examples/remove_empty_directories.py
3118ab9820d7ac7beba28a82e34089dde01c6c907454a77e19eceb34ee1fed8c : package-tools/code-examples/remove_old_package.py
6bf36aff160bf908a842f207795527add8797d84b4975fb929bf673a8431166b : package-tools/code-examples/remove_tree_for_all_users.py
650fa5e6a69e994af3293eedfb88d41d04309858ac0f205cac0ea3cf8c818fe5 : package-tools/code-examples/rerun-process.py
c5f29bb8f5b0354f39b64e8c11724ba538de97383487fc8f48c77ea038fa19f8 : package-tools/code-examples/rerun-session_setup.py
ebd0bb16feacb956a690f5e5ec2988ff5b2c5953b0aa8927a5f6fa48a822362c : package-tools/code-examples/resize-png.py
31eef63bdcca1187378c80c16ba268fc32a37f1fb5a0c229959f52574f9f6234 : package-tools/code-examples/rewrite-file.py
1fb590046ba7f2a7e996192c08ccd2698a237e8e4664bf3080caa8f926ebc63b : package-tools/code-examples/rsa_encrypted_data_str.py
474ad7556da38b6fd24ad7632f1e94865b5f4d7aa9295ba478d568cf8fdab8c8 : package-tools/code-examples/run-non-interactive-process.py
f684480e13c329675c7c12a58512c4d645c9284dec1835d1dcd7e17c412ff38f : package-tools/code-examples/running_from_waptconsole.py
5b00d46560f12d2a9d715c948bcdfc33f2fa03d2118f6b7a403d2604d30d5579 : package-tools/code-examples/scheduled_task_xml.py
7f3d34a1195effa0bb1a56d01d726935670acb8d5892b5b7698310a9da2248ec : package-tools/code-examples/set_service_start_mode.py
17c731aeaea07d7b1443d2fa85583265539eff0bcfe9b92eb8528d97adc94483 : package-tools/code-examples/stop-app-services-scheduled-tasks.py
dfbc34098e072e3f5cdd2f4188879722dbf58469c578946ca4abe8a573729e6d : package-tools/code-examples/subprocess.py
5a0202f83d037a5f8020debca006478974d13bc169a42859d030e2a463b9355c : package-tools/code-examples/temp_dir.py
592eb58d8038f3f4f6707aa52c30f522ea832af9c70dc18be7c655438437fcc0 : package-tools/code-examples/time-command.py
63987444f70a6f7a16240d504cdf298f6832966994e33629a3ec2c8ad3401b0c : package-tools/code-examples/unzip.py
1a5c4bd40036d3171bd5539008661cd9d9af471bc5838552c53cdfe2be67b2da : package-tools/code-examples/unzip_with_7zip.py
6883b2635a0513115d37ddf299753afb71a9a756b9c6ba57e5d4feb6bacdd10c : package-tools/code-examples/version_from_date.py
0d0765c0704a71e93fc52bbbbda9cde50544bdcba1382f3a5a259bfe73b05672 : package-tools/code-examples/vscode-extension-template.py
fcdbac31f616387061955b58aef717d53d2342f6ada222282bc8ba1bb5562934 : package-tools/code-examples/wapt-get_--help.sh
3eab304bec4d0d283516ae2d4fb1c8a0d8e2f89785288c90e341b709fdd9fea6 : package-tools/code-examples/wapt-get_get-param-list.sh
7321d8aed45d89a681e3681ac1b64ce4992917900e34c0c930780bb61f81bb3e : package-tools/code-examples/waptguihelper.grid_dialog()-reversed.py
94998a533e4ae3332d26ed38fb8715425574ac3a4c00bfa055df1c2b5ee86ec5 : package-tools/code-examples/warning-dangerous-action.py
5278b400e84c42774bbb5d02e3fac4c9b6fea97e3d19e15fd5858d829afd6d78 : package-tools/code-examples/while.py
5c17d22bba1c05a574311461d5743d6dd6ceb96097d1c7e1061313b760c368fc : package-tools/code-examples/windows-base-simple_dl.py
ed768dce1956c7ca2280f25282e841ccd0830469301a6f37da8207a7009f8a8c : package-tools/code-examples/windows_user_env_install_v1.py
6b1f8cef926810341c9ba4462a28cc41ecbfa83325954f6cc3f05f0edb38eb60 : package-tools/code-examples/write_audit_data_if_changed.py
b81c079363a7599a3462d3c5ca2488cf2739c711d94666654445a39b0e13eebf : package-tools/code-examples/write_file.py
49e13700c516960f9d12e571858e68827eab92163a3248220b6a99e7673bf54e : package-tools/code-examples/write_user_config_json.py
6945f398b2c1821ca40180aa8925b585f17b56de889c1acc56c7c32a59e547ec : package-tools/code-examples/xml_parsing.py
8b5187630ac26931a103b1e8cf06cb5a76a61130de88c55bb73dd371062eca9a : package-tools/code-examples/xml_parsing_v2.py
d84a257250b45bd82a4a575735be93b1486d30f1518a4af41553839477f73342 : package-tools/code-examples/xml_parsing_v3.py
fc437f3a04c76c37952aef6686d9d6c863ecc2beb137b6561b8d3e8b5278858a : package-tools/code-examples/zip_with_7z.py
dc5dc489eb98cbc39760c5eead5c0ade2b6e37cecca42b832bbb10013d93ece0 : package-tools/code-templates/audit-manually.py
501f183f9dc93f8a4b9c07a509556425a2026edb8ca1b390ce11e1afd1b9720d : package-tools/code-templates/debian_based/apt-list.py
dc1357c3c62b201ad702d07b7c704ed4b76474ec6d6e126c6977f556c7c3d202 : package-tools/code-templates/debian_based/apt.py
ac01f9db30fff29ef6a50ac81063d84441e80670cde7d6782e1e8ea849c238fb : package-tools/code-templates/debian_based/deb.py
27e30c84cffc216168ffea5f2b16cc498d629e76c33e679f69d8cc118b2fb967 : package-tools/code-templates/interact-on-returncode.py
ba525009b4ef18fbdfba9987505167c827ceec9835aa2bba11299cd6ebcf377f : package-tools/code-templates/linux-package.py
1b762e55132071a97e01ffbb29eb8b5c82edee74fc8700387a06552c6f039c40 : package-tools/code-templates/mac/dmg.py
ac0e3658163839b4d5b5312f909f516ce6c82a407f4db397f683be425e9d4dfe : package-tools/code-templates/mac/install_app.py
f33042883fe2333e32ec6667f5d8ecc9bbf5844cb0e27dc6d49ff9d0275a7c6c : package-tools/code-templates/mac/pkg.py
8a9865318f21890b31749d6569e8bd1fd48650e9599dd409252adcba3176d4c5 : package-tools/code-templates/params.py
e2af4ec7e86263f2f5dfb0f5b48333faf780475e0d8f66aba991576680d64173 : package-tools/code-templates/redhat_based/rpm.py
7cdb03864eb3e1596952c212dc08e14b840f7fa478167bd57a0f3e18270310dd : package-tools/code-templates/redhat_based/yum-list.py
74e092953bbec49409975016d8f48c96883ddb98fd419debfff82cdd168c0c1c : package-tools/code-templates/redhat_based/yum.py
ac7e5a1a1d297dd18e42c6712d0f25a448d4b645f19270e77f2a1078995fdd3e : package-tools/code-templates/session_setup.py
c76b0df35e3fb40d3606c9bb1b20757358554c81bb1368f793f4ed08cab548e1 : package-tools/code-templates/set_audit_status.py
f494661b096425566a3772fc67473f0e859c05522ce8dd334be5dfb134d7d13a : package-tools/code-templates/update_package/apt-version.py
58752d833128a7a06e0c5d804c1d3f9aebb4b6d355d2206f75a39a4aadcfb85b : package-tools/code-templates/update_package/binary_cache.py
507d71616de8aa69904e293a88332cc02a6fe0f37888adbe275097efe31a0460 : package-tools/code-templates/update_package/bs.py
13d509516d86ddba853e74c55a395d19a7e37c2608860cf1e42778054037ceaa : package-tools/code-templates/update_package/commit_count.py
04a76384536b0d9534a14789c956720decb05e9c36ef748d3f1e33395b406241 : package-tools/code-templates/update_package/common.py
d155a3b472bd638c0e79864dbadd9392c556bf8298004c6bd4d17128c8c3133d : package-tools/code-templates/update_package/dl_url-fixed_version.py
387ec734dcf7f7733f865a6465c89a82441f7007d132fd333b955a468950c391 : package-tools/code-templates/update_package/dl_url-only.py
97598ebcfadab01099148819faff51efea8d2cfd31369236869d13a77adac55c : package-tools/code-templates/update_package/github-tags.py
93e49d22878febb30dd8e0518ff2554d9bbdd55630567cf6c15811804ee4a4f3 : package-tools/code-templates/update_package/github.py
703bad7347792158aefae20c60f3ee975393810699bd89aae5a2f1f693afaafc : package-tools/code-templates/update_package/index_of.py
8c7649c4e04f1820a910bdd2eaa29951c737243de4a019d90cfa65804c7d9cbe : package-tools/code-templates/update_package/local.py
510ea7f240fc525a55f7a14929fd2c40314634ff75113b123c2e420f1a93e08d : package-tools/code-templates/update_package/luti-monitor.py
1171174940c144a54765e818ce89f8093b8975d2340b8f81b0b3bae2508191fe : package-tools/code-templates/update_package/rename-template-package.py
952310bb697d535e61fa1e6ba1b4090edcb83c048ed35364dd2fbdefc47c86df : package-tools/code-templates/update_package/requests.py
3e54299bda055200cb7e53db2db28d50bdfcffa494c6343467b538ba6d9c5341 : package-tools/code-templates/update_package/requests_session.py
5ea5a77b7c73d11590e1ca46af98621ed6693e4c229309b58f27dc3a0cf21f6a : package-tools/code-templates/update_package/sourceforge.py
a876139d63b1300d047acf3869b2cb444c2514d313af1efe7a53414f4ab80fb9 : package-tools/code-templates/update_package/wait_download.py
7c445e9c6acd62c5aec22a5b3a7f14299e8c608260b02bf8c4eda9dba831f325 : package-tools/code-templates/update_package/wip-windows-store/FE3FileUrl.xml
7aa04387f608fd12fe53a7ba1f702ae8ceb404e88a2677ddd3513986193273fc : package-tools/code-templates/update_package/wip-windows-store/GetCookie.xml
ee051d635da77aa92a0e99403e5533bc7ebbac2b563546dbadc23c122c202810 : package-tools/code-templates/update_package/wip-windows-store/WUIDRequest.xml
229879445ec2c5897985c9da58f0ff2baf0c9b95c8b9bee2b998020ff98447a0 : package-tools/code-templates/update_package/wip-windows-store/examples.py
1fb948b097c1e398e3fa9e1e54c92c1403ab53e55d6d5673d94dc58a39269c05 : package-tools/code-templates/update_package/wip-windows-store/update_package.py
7c54acd3654518194dc02d21ae013feba29a9de068a89e295b83a3fb31ba543b : package-tools/code-templates/wapt-package-functions.py
6a9f9a6a84653db92715934e759a538ead224cc33f98a0902778a1876d6fa705 : package-tools/code-templates/windows/audit-service.py
ddb58f58b710c845e44cb7cb2bbfa488f65c1bd6b0222b36475144c433d7ebb7 : package-tools/code-templates/windows/avoid-builtin-uninstallstring.py
c1f3f9631c39bd7ab84b53553e5715f331c191725d7e25f8732913f46e7153d8 : package-tools/code-templates/windows/get_version.py
f656020715d16f3af3c6b44840b573aab2bb3ac4c777dc999cb334a94561797d : package-tools/code-templates/windows/install_exe.py
906cc79f3b6a57680b941de0e06c8bc9d85ad1bb00f3e982507f7acd2530b3f4 : package-tools/code-templates/windows/install_iss.py
aad0c835c59842669594c0a5c16add9641db3c526696916de7d28564e33cc9e0 : package-tools/code-templates/windows/install_msi.py
3e81dddb2cf74f2dc09f8016db5dc1019bf6d2162dd4b375f482be48dd227191 : package-tools/code-templates/windows/internal-download.py
22f69823847a444cc4bc82cef407f98c10c58a4cbd718c358a4e8871d17a1f9d : package-tools/code-templates/windows/manual-install_exe.py
ec8b52a07362b23cb550c542b0378c90ace6cfc1603e815085e87283941d296b : package-tools/code-templates/windows/manual-install_msi.py
2894c4c3e275c71a1c686e4c1612eeded846825437798aef285ddfd08b18b119 : package-tools/code-templates/windows/netfirewallrule.py
c283f3488c0122a22dec5c24f4c33b79b9a3f99b9e4c970c6229777baae5f29e : package-tools/code-templates/windows/portable-advanced-zip.py
b62524526d96b546dd62e33eba8f1a3f08b251eb01a890119b452b6b60f52eee : package-tools/code-templates/windows/portable-dir.py
957c719f449ccc9f2042ccb64ac0aa21440626ac009baaf27adcab0b5ec3674d : package-tools/code-templates/windows/portable-exe.py
44a4e5ddee1100d7cef396d2f72e7e5f92eae2daea0b639e15c0f6388f3ace2e : package-tools/code-templates/windows/portable-zip.py
90e1dd5f2cad5c63475c743e48ccb95fb658ce46871f378e7772b557211c4642 : package-tools/code-templates/windows/register-quietuninstallstring.py
1505fbd33fa6f47806a03e1403adc8978c9cd48e42602e698ff401eafcfd876e : package-tools/code-templates/windows/sourceforge.py
910c8894a396c78ddfceb8ac01d892e0096d50c7909e82b9c22f564ec60cfcb6 : package-tools/code-templates/windows/uninstall-software.py
2525982c64278b36eb3c09bdc89ab923e0b1a9e5fe67abf6c8c5c1b5982eeac1 : package-tools/code-templates/windows/uninstallkey.py
cccb822fdb7054aca2eb0cec05d4b6e145dbd59fa036c0edceb3de4605b49608 : package-tools/code-templates/windows/user-install-exe-with-agreement.py
2692612b145fd38e37eabaac0198d5149763c83e82ef8eda3b836a13706f8c80 : package-tools/luti-json/luti-all_params.json
ef3ebe2e6b9f7227c1337e5fd559a09103cf7b21854d432a7fad5d1023f96b67 : package-tools/luti-json/luti-av.json
cb6de4281a571c4b88ff0bf2eaab8af0f928f8a3e788e8df4212f9db48ca9859 : package-tools/luti-json/luti-minimal.json
4c49c1efc8e7eb887c74eb9a8747d38af84b95c5a065e4f8875727bebd5e7a1c : package-tools/luti-json/luti-mss.json
f82720e90f617be6f6a4e3d810216010d53f96fe839332642cf21f5b61630a8b : package-tools/luti-json/luti-vscod-ext.json
5980707a99ba229ed116ed788bc32aa68ef19de123842b982fd2dd40d03622df : package-tools/luti-json/luti.json
f871e94abf8c2845b6fad0f8dd2471ffaf36cbec678caaf0d7d5614668abe089 : package-tools/package-template/.gitignore
3bb231e3396daf432cdbdc2916968d43f565a4fc2bba6bec3ea0ff4c7db7fcda : package-tools/package-template/.vscode/launch.json
14dc3f0138097843ecd889d70722e048bc24ea1077d92ae7c245ed402c9ef723 : package-tools/package-template/.vscode/settings.json
94699c6b89901db8ac124b4582103eae423d498866766b44ccb094c016d41774 : package-tools/package-template/change_luti_json.py
b4cba709fbad38d204f5bca61f40d63b81aff84af863e773a21a156d24bb17fa : package-tools/package-template/code_template.cmd
f29bd2a74bc3315bcbb1f94bf5ba0b25106717821923da45060e6c50b3ae8a2f : package-tools/package-template/deepl/__init__.py
7af531f239072abc240fd0a25f4c73d294c5576dc2478e6ba7144c63c5803c51 : package-tools/package-template/deepl/__main__.py
9c198cd02cd0133bfcbf37d9f026d491fc553268cba28850de61cb9d87b1cda0 : package-tools/package-template/deepl/api_data.py
e854664fe0de5e5d093a8d840ac721c48aed57c1f76157d6409eae0f0c00499f : package-tools/package-template/deepl/exceptions.py
96dfcf2ec2a7280ca308c09ab14080efa3f83037de5e5a1f730446246bed9fbb : package-tools/package-template/deepl/http_client.py
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : package-tools/package-template/deepl/py.typed
86e69abd36d4840b148af72a4075d23134963b16426f2bdb83768294477cde16 : package-tools/package-template/deepl/translator.py
28d2f4089fb2a932a94225d5a775cc35f8452934dfddff1bd506323d75bd9f97 : package-tools/package-template/deepl/util.py
fdda002297f529ae38255251e393bb2a858653b6f81d194f50b9d53ac57300e1 : package-tools/package-template/deepl/version.py
3c6fd77478eee8a83826c5517503b2a731bf8ec6a47939b1816e11aa5a148a8b : package-tools/package-template/dev_utils.py
147f0a2c48ae4918356d41fb6d9e1105c1969dd3192f0cf41a4100680db9a6e5 : package-tools/package-template/launch_complete_control.py
e0d6abc1407be6ffe3d1318c36800b52e4fc7c6ff9b6e367fda7da1c8355e53b : package-tools/package-template/launch_duplicate_os_package_code.py
70709e1d1ec194b52ebf6af24778eb65e07ca63d879a4beddb4fb4a9781e3a78 : package-tools/package-template/launch_duplicate_update_package.py
09e6ea9c12c9ea4681f6129b529e653b9883b8c335fc6ea6eb289b7d7363d97c : package-tools/package-template/launch_import_gitignore.py
b530f9a45334f3a66258e50ef5b1148bb88f224744c57611e2fecb07ec5214fc : package-tools/package-template/launch_import_setup_template.py
aa715eaa714334ad8dcac33a9ad43ac07a403e922399231cfd660e99154fe6a5 : package-tools/package-template/launch_import_update_template.py
5fbf964da6e5a6e1227d60cd2328345949f5d6773e67fe1dfa055fa26a5b15cc : package-tools/package-template/launch_multi_pull.py
d48137ff6e5357d29c1f81431ba7675885dccd95d407a55d4324831722b172bf : package-tools/package-template/launch_quick_testing.py
3d4eb31a2f654137149e12cd8628f6b22a38a5ef87c860c249402facf9909450 : package-tools/package-template/launch_translate_control.py
052976c82024d76745de4ab0dcc5116185465e8c664e87e3b9d271bbafd31d08 : package-tools/package-template/launch_unify_control.py
ad86ff89f26e6309b3af95f5590d7de906a8d875947908a14078330d36aafd40 : package-tools/package-template/launch_unify_control_new.py
8c9b474791d28684a8fb936b1cf014f4de29c08b81428aefd230851647195df7 : package-tools/package-template/package_template.py
00d28b1b1e6710fbd70065fedca6058613036a1eb21185f98d78e95c6eb03245 : package-tools/package-template/setupdevhelpers.py
: package-tools/package-template/template
31cd135da85f752b040363076c9db139a7c9b10115d0b87966702675e07c0b68 : package-tools/package-template/template/WAPT/.gitignore
223b6f81ed2fb04f2a49b57edd5f4758528d731d4877d73a913b4b50717892ed : package-tools/package-template/vscode_launch.json
b49091a67bde37bc66d3f27fcf2cae40173e2d7ddbb4fa8d53b69d0fed0e2e81 : package-tools/package-template/vscode_launch_custom.json
9c601603f12249bb0ac8c0ebc43c6ec06520929be01bb80e41bedb231ad8300e : package-tools/wapt-generic-iconset/cad.png
fd85471400b6cd3b1ded7dbf00039ee294565fa590a45f64d0b097ee0842494b : package-tools/wapt-generic-iconset/categories.txt
7891f1ca19ac8a9e41cb2963c0833bb3424a1dcc3f89e6ae484b1841a67063b2 : package-tools/wapt-generic-iconset/configuration.png
3e7c51325356b282e0569bff8d9048055254a9616167b66f893703b14e6957d1 : package-tools/wapt-generic-iconset/dependency.png
3078632e09e88905a16939aca654ceda7fd5d7acd4d42c79d49d2f1d5943d363 : package-tools/wapt-generic-iconset/development.png
56874702c1f83ba25b6e5aadd3433770deb7bc5891baff85c8aa4b5707225326 : package-tools/wapt-generic-iconset/drivers.png
6b677b363e4121f61296a32aa22941efe9eae2692bdc49ac6062c9e36f0b9f4d : package-tools/wapt-generic-iconset/education.png
8e14432ba2be217eed3a2134b9f4f76acf69cae201f0c37c98883f4e0484f5fb : package-tools/wapt-generic-iconset/extension.png
52d9d78f40a495a005b939d89a2c79ce5656020c28e2aaac8fbfd4c70aaa6d06 : package-tools/wapt-generic-iconset/internet.png
0bfc6603709986681b8a5fc4dbbe0a5827931ff3e01bf8c08803c9336bd2a288 : package-tools/wapt-generic-iconset/media.png
90ac460efa93228803d354e7f837c8d6e3505a1ea76a0676452b97af07038107 : package-tools/wapt-generic-iconset/messaging.png
8ea10f65fd67c122d9c2cba0f79a2bfaea672a6c57ffb99c5409701b123486dd : package-tools/wapt-generic-iconset/office.png
9420721210f5d9c50c9e35c9fdbf0a088b30e165df8311c5f2176ce60e122475 : package-tools/wapt-generic-iconset/security.png
c1e4446f0440f6e9df698ebe73b426a2335bf0b95d014cf01889fc067232b264 : package-tools/wapt-generic-iconset/svg_files/CAD.svg
d9990403d73a341a0f6613a51f0f8904b7de1264a1cab47e52fdda8550d8c517 : package-tools/wapt-generic-iconset/svg_files/Dependency.svg
82252f81d03253fc6739d69ea05804b4c65a33425756f0a5b56bbb680c4c8ad9 : package-tools/wapt-generic-iconset/svg_files/Drivers.svg
0552c318f7a7984c8152a42535f6d04467ca9bbaa8c137cf9e874805c128d389 : package-tools/wapt-generic-iconset/svg_files/Education.svg
fec75dfe97e2aa9cc958a832f345d9abe2246e273dda0c0365ce58ae32144959 : package-tools/wapt-generic-iconset/svg_files/Template.svg
861473e8f9d6f8fc8c07aa71366e7d1875c07b592df1fc893898945eb11ae512 : package-tools/wapt-generic-iconset/svg_files/configuration.svg
eeb796b8e3fb988e5560759744cb4dd3f6209f0f9284b5e29ccd8dcc3304580b : package-tools/wapt-generic-iconset/svg_files/development.svg
c86ed9a54e50236880d6bce2a9acc73ec12cf203e76308e95010450f9e97b549 : package-tools/wapt-generic-iconset/svg_files/extension.svg
744258c48326e843e7f47db506049634b35b3569ff9b9d99deac37ea82c8e687 : package-tools/wapt-generic-iconset/svg_files/icon.svg
d977ce9a68fb54a45211ce973c5aaabfd4b6415aa93af409c9f7f922e73b8116 : package-tools/wapt-generic-iconset/svg_files/internet.svg
30f8564ea8d3355586da2a9156d8b3843c756c8061df53d1a3e0bd0eba88c26f : package-tools/wapt-generic-iconset/svg_files/media.svg
35d9c0869272fad386daa9b75b1b2cbb3b34e9e8ed993e1b976faeb8027694a1 : package-tools/wapt-generic-iconset/svg_files/messaging.svg
39a013bab5d8f0f89cc392d5dcc1e8e53d5710cb4ff49b8a2c07cf3ea26cd277 : package-tools/wapt-generic-iconset/svg_files/office.svg
264f47d2c8ab0bfb48716e68c6633831f957f2aa24b34ec0f95fe4b5f65c3759 : package-tools/wapt-generic-iconset/svg_files/security.svg
4523ad88ec134cffe3e913ca9bcbfcfcc2c60fe411b04d6621dc143e2f1de84f : package-tools/wapt-generic-iconset/svg_files/system_network.svg
053669d119bce4a2520687475fdd69f30f8d31f48c47a85ff7e8d65b700de4fb : package-tools/wapt-generic-iconset/svg_files/utilities.svg
0c223120ac1a6e4cd0d0abe04cd831c7d4a4c2661947e758c0f703b656933d9a : package-tools/wapt-generic-iconset/system_network.png
0aaf1b0580c8e2c42c78fd6b48db9d67829242c91234a4c87a93daf356dbbf8b : package-tools/wapt-generic-iconset/template.png
d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834 : package-tools/wapt-generic-iconset/utilities.png
2fff10252a904c117c5f84e5a2647ce6c2017568e3dc0aca119a01e9bbb608b0 : setup.py
2200405063e794a0891393c65a15bc9bd6d2cef2a737930affd01e5c83144786 : update_package.py
Changelog
0-10
===
now detect *.bin impacted_process
adding launch_duplicate_update_package
formatting all exemple files
copyright 2024
0-7
===
using tis-waptpython-icoextract for linux compatibility (must be imported manually)
- tis-extracticon switched to conflict package
complete-control:
- detected processes for impacted_process now show theirs fullpathes
- smarter guidance by reusing the specified app dir
now compatible all OS
0-5
===
adding quick testing
adding '"justMyCode": false' on all VSCode launches
fix editing a package outside a git repository
adding translate-control
adding WAPT: build-package
0-1
===
now using vscode_launch.json from package instead of WAPT one for testing and debug purposes