mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
feat: change logo
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
|||||||
|
import base64
|
||||||
|
import sys
|
||||||
|
|
||||||
|
if sys.argv[1] is None:
|
||||||
|
print("Usage: python encode_icon.py <path_to_image>")
|
||||||
|
sys.exit(1)
|
||||||
|
else:
|
||||||
|
with open(sys.argv[1], "rb") as image_file:
|
||||||
|
encoded_string = base64.b64encode(image_file.read())
|
||||||
|
print(encoded_string.decode("utf-8"))
|
||||||
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 56 KiB |
Reference in New Issue
Block a user