Verified Commit 9ce301dd authored by Rahix's avatar Rahix
Browse files

feat(preload): Make main.py a pointer to the default clock



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 091a1d73
import os
def main():
# Try loading analog clock
default_app = "apps/analog_clock/__init__.py"
try:
with open(default_app, "r"):
pass
print("main.py: Loading " + default_app)
os.exec(default_app)
finally:
os.exit(1)
if __name__ == "__main__":
main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment