0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Fix nix url generation

This commit is contained in:
Andrey Onishchenko 2024-04-01 11:38:24 +03:00
parent d3b677721b
commit 7b34faaf28

View File

@ -52,7 +52,7 @@ def generate_nix():
flake = f.read()
_start_index = flake.find("ymExe.url = ")
_end_index = flake.find(";", _start_index)
flake = flake.replace(flake[_start_index:_end_index+1], f'ymExe.url = {version_info["ym"]["exe_link"]};')
flake = flake.replace(flake[_start_index:_end_index+1], f'ymExe.url = "{version_info["ym"]["exe_link"]}";')
with open(flake_path, "w") as f:
f.write(flake)