Though they are still available to the devs, as they are just `export-ignore`d in the .gitattributes. I've done a little bit of research, and this attribute prevents the files from being archived by git. So, I'm assuming that package control fetches archives of the packages, and not the actual ones. But I haven't found any documentation on packagecontrol.io stating that. I quickly browsed its source code on GitHub, and couldn't really find anything. So, I'm going to contact @jfcherng, who showed me this trick on FileManager.
10 lines
324 B
Python
10 lines
324 B
Python
""" A small script to convert the images into base64 data """
|
|
|
|
from base64 import b64encode
|
|
|
|
with open('404.png', 'rb') as png, open('404.base64', 'wb') as base64:
|
|
base64.write(b64encode(png.read()))
|
|
|
|
with open('loading.png', 'rb') as png, open('loading.base64', 'wb') as base64:
|
|
base64.write(b64encode(png.read()))
|