diff --git a/config.py b/config.py index 93c53f4..c5ea583 100644 --- a/config.py +++ b/config.py @@ -41,5 +41,5 @@ windows_cursors = { # Windows install.inf file content with open("./scripts/windows.inf") as f: data = f.read() - window_install_inf = data.replace( + window_install_inf_content = data.replace( "", name+" Cursors").replace("", author) diff --git a/helper.py b/helper.py index 22d3075..f298f68 100644 --- a/helper.py +++ b/helper.py @@ -2,7 +2,7 @@ import shutil import json import sys -from config import name, temp_folder, bitmaps_dir, win_out, x11_out, window_install_inf, windows_cursors +from config import name, temp_folder, bitmaps_dir, win_out, x11_out, window_install_inf_content, windows_cursors from os import path, listdir, rename, remove @@ -26,7 +26,7 @@ def window_bundle() -> None: # creating install.inf file install_inf_path = path.join(win_out_dir, "install.inf") with open(install_inf_path, "w") as file: - file.write(install_inf_path) + file.write(window_install_inf_content) def init_build() -> None: