Release AiraLang v1.4.4: Windows UTF-8 fix, system module, and VS Code extension
This commit is contained in:
1 parent
79bf41cb56
commit
580f420abf
14 files changed
+659
-35
No files matched your search
+9
-2
@@ -1,8 +1,15 @@
|
||||
#!/data/data/com.termux/files/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import os
|
||||
|
||||
sys.path.insert(0, "/data/data/com.termux/files/home/airalang/src")
|
||||
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
src_dir = os.path.join(base_dir, "src")
|
||||
|
||||
if os.path.isdir(src_dir):
|
||||
sys.path.insert(0, src_dir)
|
||||
elif os.path.isdir("/data/data/com.termux/files/home/airalang/src"):
|
||||
sys.path.insert(0, "/data/data/com.termux/files/home/airalang/src")
|
||||
|
||||
import cli
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
python "%~dp0..\src\cli.py" %*
|
||||
Reference in new issue
Block a user