mirror of https://github.com/coddrago/Heroku
Add docker as platform
parent
028d678f5c
commit
16ddeee41e
|
@ -935,6 +935,9 @@ def get_platform_emoji() -> str:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "DOCKER" in os.environ:
|
||||||
|
return BASE.format(5298554256603752468)
|
||||||
|
|
||||||
if "LAVHOST" in os.environ:
|
if "LAVHOST" in os.environ:
|
||||||
return BASE.format(5301078610747074753)
|
return BASE.format(5301078610747074753)
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ class Web:
|
||||||
"lavhost": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/victory-hand_270c-fe0f.png",
|
"lavhost": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/victory-hand_270c-fe0f.png",
|
||||||
"miyahost": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/jack-o-lantern_1f383.png",
|
"miyahost": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/jack-o-lantern_1f383.png",
|
||||||
"termux": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/smiling-face-with-sunglasses_1f60e.png",
|
"termux": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/smiling-face-with-sunglasses_1f60e.png",
|
||||||
|
"docker": "https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/325/spouting-whale_1f433.png",
|
||||||
}[
|
}[
|
||||||
"lavhost"
|
"lavhost"
|
||||||
if "LAVHOST" in os.environ
|
if "LAVHOST" in os.environ
|
||||||
|
@ -91,6 +92,8 @@ class Web:
|
||||||
if "MIYAHOST" in os.environ
|
if "MIYAHOST" in os.environ
|
||||||
else "termux"
|
else "termux"
|
||||||
if "com.termux" in os.environ.get("PREFIX", "")
|
if "com.termux" in os.environ.get("PREFIX", "")
|
||||||
|
else "docker"
|
||||||
|
if "DOCKER" in os.environ
|
||||||
else "vds"
|
else "vds"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue