()
| 23 | |
| 24 | |
| 25 | def _build_launch_command() -> str: |
| 26 | exe = Path(sys.executable).resolve() |
| 27 | if getattr(sys, "frozen", False) or exe.suffix.lower() == ".exe": |
| 28 | return f'"{str(exe)}"' |
| 29 | script = Path(sys.argv[0]).resolve() |
| 30 | if script.exists(): |
| 31 | return f'"{str(exe)}" "{str(script)}"' |
| 32 | return f'"{str(exe)}"' |
| 33 | |
| 34 | |
| 35 | def is_start_on_startup_enabled() -> bool: |
no outgoing calls
no test coverage detected