mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Adds a Pynsist extra_preamble in the Certbot entry_point for the Windows installer, ensuring the flag is always set.
13 lines
383 B
Python
13 lines
383 B
Python
"""Pynsist extra_preamble for the Certbot entry point.
|
|
|
|
This preamble ensures that Certbot on Windows always runs with the --preconfigured-renewal
|
|
flag set. Since Pynsist creates a Scheduled Task for renewal, we want this flag to be set
|
|
so that we can provide the right automated renewal advice to Certbot on Windows users.
|
|
|
|
"""
|
|
|
|
|
|
import sys
|
|
|
|
sys.argv += ["--preconfigured-renewal"]
|