diff --git a/scripts/deploy-material-host.sh b/scripts/deploy-material-host.sh index 75c4377..fa0730f 100644 --- a/scripts/deploy-material-host.sh +++ b/scripts/deploy-material-host.sh @@ -220,13 +220,13 @@ for line in lines: if '=' in line and not line.lstrip().startswith('#'): key = line.split('=', 1)[0].strip() if key in updates: - output.append(key + '=' + quoted(updates[key])) + output.append(key + '=' + str(updates[key])) seen.add(key) continue output.append(line) for key, value in updates.items(): if key not in seen: - output.append(key + '=' + quoted(value)) + output.append(key + '=' + str(value)) source_path.write_text('\n'.join(output) + '\n', encoding='utf-8') os.chmod(source_path, 0o600) print('通知中心与素材库适配配置已写入')