Skip to content

Commit 53e1b11

Browse files
author
Tanmoy
committed
Official Release v1.0.4.3 - Update README links and release assets
1 parent eaa0254 commit 53e1b11

7 files changed

Lines changed: 431 additions & 67 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ TechScript is:
114114

115115
#### Option 1: One-Click Installer *(Recommended for Beginners)*
116116

117-
1. Go to the [📥 Releases page](../../releases/latest)
118-
2. Download **`setup.exe`**
117+
1. Go to the [📥 v1.0.4.3 Release Page](https://github.com/Tcode-Motion/techscript/releases/tag/v1.0.4.3)
118+
2. Download **[TechScript_v1.0.4.3_Setup.exe](https://github.com/Tcode-Motion/techscript/releases/download/v1.0.4.3/TechScript_v1.0.4.3_Setup.exe)**
119119
3. Double-click it — it will install everything automatically!
120120
4. Open **PowerShell** (`Win + X` → "Windows PowerShell") and type:
121121

@@ -126,15 +126,15 @@ tech version
126126
You should see: `TechScript v1.0.4.3` 🎉
127127

128128
**What the installer does automatically:**
129-
- ✅ Puts `tech.exe` on your computer
129+
- ✅ Puts `tech.exe` (v1.0.4.3) on your computer
130130
- ✅ Makes the `tech` command available everywhere in your terminal
131131
- ✅ Registers `.txs` files so they know they belong to TechScript
132132
- ✅ Installs the VS Code extension for syntax highlighting
133133

134134
#### Option 2: Using pip *(Cross-Platform Wrapper)*
135135

136136
```powershell
137-
pip install techscript-lang
137+
pip install techscript-lang==1.0.4.3
138138
```
139139

140140
---
@@ -620,7 +620,7 @@ tech run examples/animation_studio.txs
620620
## 🎨 VS Code / Cursor Editor Extension
621621

622622
### 🐉 Direct Download Link
623-
* **[Download TechScript v1.0.4.3 VS Code Extension (.vsix)](techscript-1.0.4.3.vsix)**
623+
* **[Download TechScript v1.0.4.3 VS Code Extension (.vsix)](https://github.com/Tcode-Motion/techscript/releases/download/v1.0.4.3/techscript-1.0.4.3.vsix)**
624624

625625
**Method 1 — Command line (fastest):**
626626
```bash
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# TechScript Wrapper Package
2+
from .__main__ import main
3+
4+
__version__ = "1.0.2"
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import os
2+
import sys
3+
import platform
4+
import urllib.request
5+
import subprocess
6+
7+
VERSION = "1.0.2"
8+
REPO = "Tcode-Motion/techscript"
9+
10+
def download_binary():
11+
system = platform.system().lower()
12+
machine = platform.machine().lower()
13+
14+
# Define asset name based on OS Architecture
15+
asset_name = None
16+
if system == "windows":
17+
asset_name = "techscriptv1.0.2.exe"
18+
elif system == "linux":
19+
asset_name = "tech-linux-x64" # Placeholder for future linux release
20+
elif system == "darwin":
21+
asset_name = "tech-macos-x64" # Placeholder for future mac release
22+
23+
if not asset_name:
24+
print(f"Unsupported system: {system} {machine}")
25+
sys.exit(1)
26+
27+
url = f"https://github.com/{REPO}/releases/download/v{VERSION}/{asset_name}"
28+
29+
bin_dir = os.path.join(os.path.expanduser("~"), ".techscript", "bin")
30+
os.makedirs(bin_dir, exist_ok=True)
31+
32+
exe_path = os.path.join(bin_dir, "tech.exe" if system == "windows" else "tech")
33+
34+
if not os.path.exists(exe_path):
35+
print(f"Downloading TechScript v{VERSION} for {system}...")
36+
try:
37+
urllib.request.urlretrieve(url, exe_path)
38+
if system != "windows":
39+
os.chmod(exe_path, 0o755)
40+
print("Download complete!")
41+
except Exception as e:
42+
print(f"Failed to download native binary: {e}")
43+
sys.exit(1)
44+
45+
return exe_path
46+
47+
def main():
48+
exe_path = download_binary()
49+
try:
50+
sys.exit(subprocess.call([exe_path] + sys.argv[1:]))
51+
except KeyboardInterrupt:
52+
sys.exit(130)
53+
54+
if __name__ == "__main__":
55+
main()
13.2 KB
Binary file not shown.
22.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)