computer-use-ootb-internal 0.0.165__py3-none-any.whl → 0.0.166__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- computer_use_ootb_internal/service_manager.py +18 -0
- {computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/RECORD +5 -5
- {computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/entry_points.txt +0 -0
@@ -210,6 +210,24 @@ def _remove_startup_shortcut():
|
|
210
210
|
print("Shortcut not found, no removal needed.")
|
211
211
|
return True
|
212
212
|
|
213
|
+
def _cleanup_scheduled_tasks():
|
214
|
+
"""Removes all OOTB user logon scheduled tasks (legacy cleanup)."""
|
215
|
+
print("Attempting legacy cleanup of OOTB user logon scheduled tasks...")
|
216
|
+
# Use -like operator and wildcard
|
217
|
+
# Need _TASK_NAME_PREFIX defined at module level
|
218
|
+
command = f"""
|
219
|
+
$tasks = Get-ScheduledTask | Where-Object {{ $_.TaskName -like '{_TASK_NAME_PREFIX}*' }}
|
220
|
+
if ($tasks) {{
|
221
|
+
Write-Host "Found $($tasks.Count) legacy OOTB logon tasks to remove."
|
222
|
+
$tasks | Unregister-ScheduledTask -Confirm:$false -ErrorAction SilentlyContinue
|
223
|
+
Write-Host "Legacy OOTB logon task removal attempted."
|
224
|
+
}} else {{
|
225
|
+
Write-Host "No legacy OOTB logon tasks found to remove."
|
226
|
+
}}
|
227
|
+
"""
|
228
|
+
# Use the generic _run_command helper, specifying powershell.exe
|
229
|
+
_run_command(['powershell.exe', '-NoProfile', '-NonInteractive', '-Command', command], check_errors=False, verbose=False)
|
230
|
+
|
213
231
|
def install_and_start():
|
214
232
|
"""Installs and starts the Guard Service."""
|
215
233
|
print(f"Attempting to install service: '{_SERVICE_NAME}' ('{_SERVICE_DISPLAY_NAME}')")
|
{computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/RECORD
RENAMED
@@ -6,7 +6,7 @@ computer_use_ootb_internal/guard_service.py,sha256=sJRd4uYLkmWoD9UoAMKwCLAC771Sc
|
|
6
6
|
computer_use_ootb_internal/launch_ootb_elevated.ps1,sha256=cAigroRaV4CW1gw0SNaPemmeIBRM7bCCwNDHSN8KHkw,2364
|
7
7
|
computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
|
8
8
|
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=eUPpfA7bB3bdBBiIBIxKJSS-Jpz2G6R46fpDO440Jyo,7687
|
9
|
-
computer_use_ootb_internal/service_manager.py,sha256=
|
9
|
+
computer_use_ootb_internal/service_manager.py,sha256=29_092wed5sAQZs8yi6nm37b3wLryx6yLJX7T3RQXI8,18011
|
10
10
|
computer_use_ootb_internal/signal_connection.py,sha256=8jPLOj0WSBXI_NElm5A-F146DTAE5LdL07lov7YXTNQ,1774
|
11
11
|
computer_use_ootb_internal/computer_use_demo/animation/click_animation.py,sha256=tP1gsayFy-CKk10UlrE9RlexwlHWiHQUe5Ogg4vQvSg,3234
|
12
12
|
computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif,sha256=4LfwsfFQnREXrNRs32aJU2jO65JXianJoL_8q7-8elg,30966
|
@@ -35,7 +35,7 @@ computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO
|
|
35
35
|
computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
|
36
36
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
37
37
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=r0b19M_c1sXkN3_MRFjql8w_ThC9nZUe8zbSLYUvKS8,4635
|
38
|
-
computer_use_ootb_internal-0.0.
|
39
|
-
computer_use_ootb_internal-0.0.
|
40
|
-
computer_use_ootb_internal-0.0.
|
41
|
-
computer_use_ootb_internal-0.0.
|
38
|
+
computer_use_ootb_internal-0.0.166.dist-info/METADATA,sha256=A6hTx5K-rpLXcHJC_ek6oTVG1QbJNdgyN23hJZXk2g0,1048
|
39
|
+
computer_use_ootb_internal-0.0.166.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
40
|
+
computer_use_ootb_internal-0.0.166.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
|
41
|
+
computer_use_ootb_internal-0.0.166.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.165.dist-info → computer_use_ootb_internal-0.0.166.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|