File: displaycal-apply-profiles

package info (click to toggle)
displaycal-py3 3.9.16-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,120 kB
  • sloc: python: 115,777; javascript: 11,540; xml: 598; sh: 257; makefile: 173
file content (17 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys


if sys.platform == "win32" and not (
    "--help" in sys.argv[1:] or "-V" in sys.argv[1:] or "--version" in sys.argv[1:]
):
    from DisplayCAL.main import main

    main("apply-profiles")
else:
    # Linux
    from DisplayCAL.profile_loader import main

    main()