MCPcopy Create free account
hub / github.com/HumbleUI/JWM / main

Function main

script/icons.py:4–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import common, glob, os, platform, subprocess, sys
3
4def main():
5 os.chdir(os.path.dirname(__file__) + '/../examples/dashboard/resources')
6 # macos only
7 subprocess.check_call(["iconutil", "-c", "icns", "macos.iconset"])
8 # windows, requires imagemagick
9 subprocess.check_call(["convert",
10 "windows/icon_16x16.png",
11 "windows/icon_24x24.png",
12 "windows/icon_32x32.png",
13 "windows/icon_48x48.png",
14 "windows/icon_256x256.png",
15 "windows.ico"])
16 return 0
17
18if __name__ == '__main__':
19 sys.exit(main())

Callers 1

icons.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected