computer-use-ootb-internal 0.0.128__py3-none-any.whl → 0.0.129__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/guard_service.py +19 -4
- {computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/RECORD +5 -5
- {computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/entry_points.txt +0 -0
@@ -618,13 +618,28 @@ class GuardService(win32serviceutil.ServiceFramework):
|
|
618
618
|
startup = win32process.STARTUPINFO()
|
619
619
|
startup.dwFlags = win32process.STARTF_USESHOWWINDOW
|
620
620
|
startup.wShowWindow = win32con.SW_HIDE
|
621
|
-
creation_flags =
|
622
|
-
user_profile_dir = win32profile.GetUserProfileDirectory(token)
|
621
|
+
creation_flags = 0x00000010 # CREATE_NEW_CONSOLE
|
623
622
|
|
623
|
+
self.log_info(f"Calling CreateProcessAsUser:")
|
624
|
+
self.log_info(f" lpApplicationName: {self.target_executable_path}")
|
625
|
+
self.log_info(f" lpCommandLine: {None}")
|
626
|
+
self.log_info(f" lpCurrentDirectory: {os.path.dirname(self.target_executable_path) if os.path.dirname(self.target_executable_path) != '' else 'Default'}")
|
627
|
+
self.log_info(f" dwCreationFlags: {creation_flags} (CREATE_NEW_CONSOLE)")
|
628
|
+
|
629
|
+
# CreateProcessAsUser call
|
624
630
|
hProcess, hThread, dwPid, dwTid = win32process.CreateProcessAsUser(
|
625
|
-
token,
|
626
|
-
|
631
|
+
token, # User token
|
632
|
+
self.target_executable_path, # Application name (the executable path)
|
633
|
+
None, # Command line (None since it's in app name)
|
634
|
+
None, # Process attributes
|
635
|
+
None, # Thread attributes
|
636
|
+
False, # Inherit handles
|
637
|
+
creation_flags, # Creation flags (CREATE_NEW_CONSOLE)
|
638
|
+
env, # Environment block
|
639
|
+
os.path.dirname(self.target_executable_path) if os.path.dirname(self.target_executable_path) != '' else None, # Current directory
|
640
|
+
startup # Startup info
|
627
641
|
)
|
642
|
+
|
628
643
|
self.log_info(f"CreateProcessAsUser call succeeded for user '{user}' (PID: {dwPid}). Checking existence...")
|
629
644
|
win32api.CloseHandle(hProcess)
|
630
645
|
win32api.CloseHandle(hThread)
|
{computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/RECORD
RENAMED
@@ -2,7 +2,7 @@ computer_use_ootb_internal/README.md,sha256=FxpW95lyub2iX73ZDfK6ML7SdEKg060H5I6G
|
|
2
2
|
computer_use_ootb_internal/__init__.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
3
3
|
computer_use_ootb_internal/app_teachmode.py,sha256=ZZW98870QPNK76LN4f4k9RjBELYcF_3hl0w0fvxj3dY,22268
|
4
4
|
computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
|
5
|
-
computer_use_ootb_internal/guard_service.py,sha256=
|
5
|
+
computer_use_ootb_internal/guard_service.py,sha256=ioavcDM3X3lyOY8nJe73isgQwo4FxQbXkZpWc_8RMas,41482
|
6
6
|
computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
|
7
7
|
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=HB7L9vuIPUXVqeTicyNJKArzTNAfgdpsyO3JEzmByIo,7315
|
8
8
|
computer_use_ootb_internal/service_manager.py,sha256=SD8jzfn0VVXBOr_nP6zmBWSC2TzrU_sp2e5JJkSlQFU,9734
|
@@ -33,7 +33,7 @@ computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO
|
|
33
33
|
computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
|
34
34
|
computer_use_ootb_internal/preparation/__init__.py,sha256=AgtGHcBpiTkxJjF0xwcs3yyQ6SyUvhL3G0vD2XO-zJw,63
|
35
35
|
computer_use_ootb_internal/preparation/star_rail_prepare.py,sha256=s1VWszcTnJAKxqCHFlaOEwPkqVSrkiFx_yKpWSnSbHs,2649
|
36
|
-
computer_use_ootb_internal-0.0.
|
37
|
-
computer_use_ootb_internal-0.0.
|
38
|
-
computer_use_ootb_internal-0.0.
|
39
|
-
computer_use_ootb_internal-0.0.
|
36
|
+
computer_use_ootb_internal-0.0.129.dist-info/METADATA,sha256=GkyTYGPcqy0XyaKiHsOGPHRVY8RZorcqLtqR8dUGhe0,1048
|
37
|
+
computer_use_ootb_internal-0.0.129.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
38
|
+
computer_use_ootb_internal-0.0.129.dist-info/entry_points.txt,sha256=bXfyAU_qq-G1EiEgAQEioXvgEdRCFxaTooqdDD9Y4OA,258
|
39
|
+
computer_use_ootb_internal-0.0.129.dist-info/RECORD,,
|
{computer_use_ootb_internal-0.0.128.dist-info → computer_use_ootb_internal-0.0.129.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|