mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-16 08:04:49 -04:00
🔧 Window install.inf content and other configs
This commit is contained in:
parent
f010ad9908
commit
9cd59c2d0d
1 changed files with 18 additions and 2 deletions
20
config.py
20
config.py
|
@ -1,4 +1,5 @@
|
|||
import tempfile
|
||||
import json
|
||||
|
||||
# Build Config
|
||||
delay = 50
|
||||
|
@ -9,5 +10,20 @@ bitmaps_dir = "./bitmaps"
|
|||
temp_folder = tempfile.mkdtemp()
|
||||
|
||||
# Cleanup Configs
|
||||
x11_out = "macOSBigSur"
|
||||
win_out = "macOSBigSur_Windows"
|
||||
x11_out = name
|
||||
win_out = name + "_Windows"
|
||||
|
||||
# getting author name
|
||||
with open("./package.json") as f:
|
||||
data = json.loads(f.read())
|
||||
author = data["author"]
|
||||
|
||||
# Windows Cursors Config
|
||||
|
||||
# Windows install.inf file content
|
||||
with open("./scripts/windows.inf") as f:
|
||||
data = f.read()
|
||||
window_install_inf = data.replace(
|
||||
"<inject_theme_name>", name+" Cursors").replace("<inject_author_name>", author)
|
||||
|
||||
print(window_install_inf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue