Update
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in -14h59m18s
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in -14h59m18s
This commit is contained in:
@@ -81,7 +81,7 @@ class LoadingScreen:
|
|||||||
def load_custom_font(self):
|
def load_custom_font(self):
|
||||||
"""Load the RimWorld font using Windows AddFontResourceEx with private flag"""
|
"""Load the RimWorld font using Windows AddFontResourceEx with private flag"""
|
||||||
try:
|
try:
|
||||||
font_path = get_resource_path(os.path.join("art", "RimWordFont4.ttf"))
|
font_path = get_resource_path(os.path.join("art", "georgia.ttf"))
|
||||||
if os.path.exists(font_path):
|
if os.path.exists(font_path):
|
||||||
abs_font_path = os.path.abspath(font_path)
|
abs_font_path = os.path.abspath(font_path)
|
||||||
|
|
||||||
@@ -90,7 +90,7 @@ class LoadingScreen:
|
|||||||
|
|
||||||
if success:
|
if success:
|
||||||
# Use the actual font family name from the TTF file
|
# Use the actual font family name from the TTF file
|
||||||
self.custom_font_family = "RimWordFont"
|
self.custom_font_family = "Georgia"
|
||||||
self.custom_font_available = True
|
self.custom_font_available = True
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -1909,7 +1909,7 @@ class SteamWorkshopGUI:
|
|||||||
def load_custom_font(self):
|
def load_custom_font(self):
|
||||||
"""Load the RimWorld font using Windows AddFontResourceEx with private flag"""
|
"""Load the RimWorld font using Windows AddFontResourceEx with private flag"""
|
||||||
try:
|
try:
|
||||||
font_path = get_resource_path(os.path.join("art", "RimWordFont4.ttf"))
|
font_path = get_resource_path(os.path.join("art", "georgia.ttf"))
|
||||||
if os.path.exists(font_path):
|
if os.path.exists(font_path):
|
||||||
abs_font_path = os.path.abspath(font_path)
|
abs_font_path = os.path.abspath(font_path)
|
||||||
|
|
||||||
@@ -1918,7 +1918,7 @@ class SteamWorkshopGUI:
|
|||||||
|
|
||||||
if success:
|
if success:
|
||||||
# Use the actual font family name from the TTF file
|
# Use the actual font family name from the TTF file
|
||||||
self.custom_font_family = "RimWordFont"
|
self.custom_font_family = "Georgia"
|
||||||
self.custom_font_available = True
|
self.custom_font_available = True
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -3277,7 +3277,7 @@ class SteamWorkshopGUI:
|
|||||||
# Create centered text using canvas - moved up by 3%
|
# Create centered text using canvas - moved up by 3%
|
||||||
self.success_bg_canvas.create_text(
|
self.success_bg_canvas.create_text(
|
||||||
window_width // 2, window_height // 2 - 150 - int(window_height * 0.03),
|
window_width // 2, window_height // 2 - 150 - int(window_height * 0.03),
|
||||||
text="success!",
|
text="Success!",
|
||||||
fill='#00ff00',
|
fill='#00ff00',
|
||||||
font=self.get_font(24, 'bold'),
|
font=self.get_font(24, 'bold'),
|
||||||
tags='success_text'
|
tags='success_text'
|
||||||
@@ -3318,7 +3318,7 @@ class SteamWorkshopGUI:
|
|||||||
# Success message
|
# Success message
|
||||||
self.success_bg_canvas.create_text(
|
self.success_bg_canvas.create_text(
|
||||||
center_x, y_pos,
|
center_x, y_pos,
|
||||||
text="mods list created successfully!",
|
text="Mods list created successfully!",
|
||||||
fill='#00ff00',
|
fill='#00ff00',
|
||||||
font=self.get_font(20, 'bold'),
|
font=self.get_font(20, 'bold'),
|
||||||
tags='success_text'
|
tags='success_text'
|
||||||
@@ -3328,7 +3328,7 @@ class SteamWorkshopGUI:
|
|||||||
# Mod list name
|
# Mod list name
|
||||||
self.success_bg_canvas.create_text(
|
self.success_bg_canvas.create_text(
|
||||||
center_x, y_pos,
|
center_x, y_pos,
|
||||||
text=f"it is named: {mod_list_name.lower()}",
|
text=f"It is named: {mod_list_name.lower()}",
|
||||||
fill='white',
|
fill='white',
|
||||||
font=self.get_font(16),
|
font=self.get_font(16),
|
||||||
tags='success_text'
|
tags='success_text'
|
||||||
@@ -3337,22 +3337,22 @@ class SteamWorkshopGUI:
|
|||||||
|
|
||||||
# Instructions (different for homebrew vs vanilla)
|
# Instructions (different for homebrew vs vanilla)
|
||||||
if mod_list_name == "ProgressionHomebrew":
|
if mod_list_name == "ProgressionHomebrew":
|
||||||
instructions_text = f"""to load it:
|
instructions_text = f"""To load it:
|
||||||
1. open your mod manager in game
|
1. Open your mod manager in game
|
||||||
2. go to load section
|
2. Go to load section
|
||||||
3. press load next to "{mod_list_name.lower()}"
|
3. Press load next to "{mod_list_name.lower()}"
|
||||||
|
|
||||||
⚠️ important for homebrew version ⚠️
|
⚠️ Important for homebrew version ⚠️
|
||||||
this contains your current mods + progression pack
|
This contains your current mods + progression pack
|
||||||
you must auto sort after loading to prevent conflicts!
|
You must auto sort after loading to prevent conflicts!
|
||||||
some mods may be incompatible - check for errors!"""
|
Some mods may be incompatible - check for errors!"""
|
||||||
else:
|
else:
|
||||||
instructions_text = f"""to load it:
|
instructions_text = f"""To load it:
|
||||||
1. open your mod manager in game
|
1. Open your mod manager in game
|
||||||
2. go to load section
|
2. Go to load section
|
||||||
3. press load next to "{mod_list_name.lower()}"
|
3. Press load next to "{mod_list_name.lower()}"
|
||||||
|
|
||||||
you must auto sort after this!"""
|
You must auto sort after this!"""
|
||||||
|
|
||||||
self.success_bg_canvas.create_text(
|
self.success_bg_canvas.create_text(
|
||||||
center_x, y_pos + 80,
|
center_x, y_pos + 80,
|
||||||
@@ -3367,10 +3367,10 @@ you must auto sort after this!"""
|
|||||||
# Auto sort warning (more prominent for homebrew)
|
# Auto sort warning (more prominent for homebrew)
|
||||||
if mod_list_name == "ProgressionHomebrew":
|
if mod_list_name == "ProgressionHomebrew":
|
||||||
warning_color = '#ff4444'
|
warning_color = '#ff4444'
|
||||||
warning_msg = "⚠️ critical: auto sort after loading! check for mod conflicts! ⚠️"
|
warning_msg = "⚠️ Critical: auto sort after loading! Check for mod conflicts! ⚠️"
|
||||||
else:
|
else:
|
||||||
warning_color = '#ff8686'
|
warning_color = '#ff8686'
|
||||||
warning_msg = "⚠️ important: auto sort after loading! ⚠️"
|
warning_msg = "⚠️ Important: auto sort after loading! ⚠️"
|
||||||
|
|
||||||
self.success_bg_canvas.create_text(
|
self.success_bg_canvas.create_text(
|
||||||
center_x, y_pos,
|
center_x, y_pos,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Configuration settings for the update checker
|
|||||||
# Update checker configuration
|
# Update checker configuration
|
||||||
UPDATE_CONFIG = {
|
UPDATE_CONFIG = {
|
||||||
# Current version of the application
|
# Current version of the application
|
||||||
"current_version": "0.0.4",
|
"current_version": "0.1.0",
|
||||||
|
|
||||||
# Repository information
|
# Repository information
|
||||||
"repo_owner": "HRiggs",
|
"repo_owner": "HRiggs",
|
||||||
|
|||||||
Reference in New Issue
Block a user