mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Merge branch 'main' into CURA-12156_dont_zip_downloadable_plugins
This commit is contained in:
commit
35ff3e40e6
@ -570,9 +570,9 @@ class CuraConan(ConanFile):
|
||||
print(f"Could not find '{str(test_colors_path)}'. Won't generate rotating colors for alpha builds.")
|
||||
return
|
||||
if "alpha" in self.version:
|
||||
biweekly_day = (datetime.now() - datetime(2025, 3, 14)).days
|
||||
with test_colors_path.open("r") as test_colors_file:
|
||||
test_colors = json.load(test_colors_file)
|
||||
biweekly_day = (datetime.now() - datetime(2025, 3, 14)).days % len(test_colors)
|
||||
for theme_dir in Path(self.source_folder, "resources", "themes").iterdir():
|
||||
if not theme_dir.is_dir():
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user