mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-18 17:25:18 -04:00
💾 Save content in install.inf file
This commit is contained in:
parent
61ad38d41c
commit
befee63177
2 changed files with 3 additions and 3 deletions
|
@ -41,5 +41,5 @@ windows_cursors = {
|
||||||
# Windows install.inf file content
|
# Windows install.inf file content
|
||||||
with open("./scripts/windows.inf") as f:
|
with open("./scripts/windows.inf") as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
window_install_inf = data.replace(
|
window_install_inf_content = data.replace(
|
||||||
"<inject_theme_name>", name+" Cursors").replace("<inject_author_name>", author)
|
"<inject_theme_name>", name+" Cursors").replace("<inject_author_name>", author)
|
||||||
|
|
|
@ -2,7 +2,7 @@ import shutil
|
||||||
import json
|
import json
|
||||||
import sys
|
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
|
from os import path, listdir, rename, remove
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ def window_bundle() -> None:
|
||||||
# creating install.inf file
|
# creating install.inf file
|
||||||
install_inf_path = path.join(win_out_dir, "install.inf")
|
install_inf_path = path.join(win_out_dir, "install.inf")
|
||||||
with open(install_inf_path, "w") as file:
|
with open(install_inf_path, "w") as file:
|
||||||
file.write(install_inf_path)
|
file.write(window_install_inf_content)
|
||||||
|
|
||||||
|
|
||||||
def init_build() -> None:
|
def init_build() -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue