Skip to content

Commit 6a47b85

Browse files
committed
Simplify icc
1 parent 12622a3 commit 6a47b85

2 files changed

Lines changed: 3 additions & 65 deletions

File tree

biglinux-livecd/usr/share/biglinux/livecd/script/icc_profile.sh

Lines changed: 0 additions & 62 deletions
This file was deleted.

biglinux-livecd/usr/share/biglinux/livecd/services.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def finalize_setup(self, config: SetupConfig):
221221
logger.info("Enhanced contrast enabled, creating flag file.")
222222
self._run_command(["touch", self.tmp_display_profile_file], as_root=False)
223223
self._run_command(
224-
["/usr/share/biglinux/livecd/script/icc_profile.sh", "enable"],
224+
["/usr/bin/icc_profile_apply", "enable"],
225225
as_root=False,
226226
)
227227
else:
@@ -232,7 +232,7 @@ def finalize_setup(self, config: SetupConfig):
232232
["rm", "-f", self.tmp_display_profile_file], as_root=False
233233
)
234234
self._run_command(
235-
["/usr/share/biglinux/livecd/script/icc_profile.sh", "disable"],
235+
["/usr/bin/icc_profile_apply", "disable"],
236236
as_root=False,
237237
)
238238

@@ -332,4 +332,4 @@ def get_xivastudio_logo_path(self) -> str | None:
332332
return self.XIVASTUDIO_LOGO_PNG
333333
if os.path.exists(self.XIVASTUDIO_LOGO_GIF):
334334
return self.XIVASTUDIO_LOGO_GIF
335-
return None
335+
return None

0 commit comments

Comments
 (0)