Fix. Msi, remove RustDesk words (#7732)

* Fix. Msi, remove RustDesk words

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* Fix. Replace RustDesk in langs

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-04-16 13:09:20 +08:00
committed by GitHub
parent 1d4c129e9c
commit a5d02998ad
5 changed files with 18 additions and 17 deletions

View File

@@ -13,6 +13,7 @@ g_indent_unit = "\t"
g_version = ""
g_build_date = datetime.datetime.now().strftime("%Y-%m-%d %H:%M")
# Replace the following links with your own in the custom arp properties.
# https://learn.microsoft.com/en-us/windows/win32/msi/property-reference
g_arpsystemcomponent = {
"Comments": {
@@ -168,7 +169,7 @@ def gen_pre_vars(args, dist_dir):
def replace_app_name_in_langs(app_name):
langs_dir = Path(sys.argv[0]).parent.joinpath("Package/Language")
for file_path in langs_dir.glob("*.wxs"):
for file_path in langs_dir.glob("*.wxl"):
with open(file_path, "r") as f:
lines = f.readlines()
for i, line in enumerate(lines):