Skip to content

Commit 649eb39

Browse files
authored
Add files via upload
0 parents  commit 649eb39

15 files changed

+9588
-0
lines changed

README.md

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
# 🛠️ WinTool - Windows Utility
2+
3+
<div align="center">
4+
5+
[![Windows](https://img.shields.io/badge/Windows-10%2F11-0078D6?style=for-the-badge&logo=windows&logoColor=white)](https://www.microsoft.com/windows)
6+
[![License](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](LICENSE)
7+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?style=for-the-badge)](https://github.com/MTechWare/wintool)
8+
9+
### 🎯 A Modern Windows System Management Suite
10+
11+
*Streamline your Windows experience with an elegant, all-in-one system management tool.*
12+
13+
[Features](#-features)[Installation](#-installation)[Usage](#-usage)[Requirements](#-requirements)
14+
15+
---
16+
17+
</div>
18+
19+
## 📋 Requirements
20+
21+
### System Requirements
22+
- Windows 10/11
23+
- 4GB RAM (minimum)
24+
- 15MB free disk space
25+
- Node.js 18+ (add to PATH)
26+
27+
### Build from Source (Recommended for Developers)
28+
```bash
29+
git clone https://github.com/MTechWare/wintool.git
30+
cd wintool
31+
npm install
32+
npx electron .
33+
```
34+
35+
### Build Distributable (Installer/Portable)
36+
```bash
37+
npx electron-builder
38+
```
39+
- If you see `'electron-builder' is not recognized`, make sure you ran `npm install` and use `npx electron-builder` instead of `npm run dist`.
40+
41+
### Option 2: Download Release (if available)
42+
1. Visit the [Releases Page](https://github.com/MTechWare/wintools)
43+
2. Download the latest version
44+
3. Run the installer or executable to start the application
45+
46+
## ⚡ Troubleshooting
47+
- **Electron build errors:**
48+
- If `electron-builder` is not found, use `npx electron-builder`.
49+
- If you deleted `node_modules`, run `npm install` again.
50+
51+
## ✨ Features
52+
53+
<details open>
54+
<summary><b>🏠 Dashboard</b></summary>
55+
56+
- **Real-time System Monitoring**
57+
- CPU, Memory, and Disk usage tracking
58+
- Performance metrics visualization
59+
- **Quick Actions Hub**
60+
- Common system tasks
61+
- Frequently used tools
62+
</details>
63+
64+
<details>
65+
<summary><b>⚡ Tweaks</b></summary>
66+
67+
- **Performance Optimization**
68+
- System tweaks for better performance
69+
- Gaming optimizations
70+
- **Privacy Settings**
71+
- Windows telemetry controls
72+
- Privacy-focused configurations
73+
</details>
74+
75+
<details>
76+
<summary><b>📦 Package Management</b></summary>
77+
78+
- **WinGet Integration**
79+
- Smart package search
80+
- Category-based filtering
81+
- Bulk operations support
82+
- **Package Operations**
83+
- One-click installation
84+
- Clean uninstallation
85+
- Automatic updates
86+
</details>
87+
88+
<details>
89+
<summary><b>💻 System Tools</b></summary>
90+
91+
- **System Maintenance**
92+
- Disk cleanup utility
93+
- Task manager integration
94+
- **System Configuration**
95+
- Device manager
96+
- Control panel
97+
</details>
98+
99+
<details>
100+
<summary><b>🔧 System Health</b></summary>
101+
102+
- **Performance Monitoring**
103+
- Resource usage tracking
104+
- System metrics
105+
- **System Information**
106+
- Hardware details
107+
- Software inventory
108+
</details>
109+
110+
<details>
111+
<summary><b>⚙️ Unattended Setup</b></summary>
112+
113+
- **Windows Configuration**
114+
- Custom installation settings
115+
- System preferences
116+
- **Automation**
117+
- Scripted setup
118+
- Configuration profiles
119+
</details>
120+
121+
## 🎨 Themes & Design
122+
123+
- **Modern Interface**
124+
- Sun Valley dark theme
125+
- Orange accent colors
126+
- **Responsive Design**
127+
- Adaptive layout
128+
- Smooth animations
129+
130+
## 🎯 Usage
131+
132+
1. **Start the App**
133+
```bash
134+
npx electron .
135+
```
136+
2. **Navigate Features**
137+
- Use the tab bar for navigation
138+
- Access quick actions from the dashboard
139+
- Monitor system health in real-time
140+
3. **Package Management**
141+
- Search packages using the smart search bar
142+
- Filter by categories or tags
143+
- Perform bulk operations
144+
145+
## 🤝 Credits
146+
147+
- **UI Framework**: Electron, Tailwind CSS
148+
- **Package Management**: Windows Package Manager (winget), Package List (ChrisTitusTech)
149+
- **System Monitoring**: Node.js only (no Python required)
150+
151+
---
152+
153+
<div align="center">
154+
155+
Made with ❤️ by MTech
156+
157+
</div>

WinTool_Installer.ps1

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
function Write-ThemeLine($text, $width=60) {
2+
$pad = [Math]::Max(0, [Math]::Floor(($width - $text.Length)/2))
3+
Write-Host ("=" * $width)
4+
Write-Host (" " * $pad + $text)
5+
Write-Host ("=" * $width)
6+
}
7+
8+
function Write-ThemeMsg($text, $width=60) {
9+
$pad = [Math]::Max(0, [Math]::Floor(($width - $text.Length)/2))
10+
Write-Host (" " * $pad + $text)
11+
}
12+
13+
# WinTool Installer Script
14+
# This script will create the install directory, download the app exe, and create a desktop shortcut.
15+
16+
$installDir = "$env:LOCALAPPDATA\MTechTool"
17+
$exeUrl = "https://github.com/MTechWare/wintool/releases/download/release/WinTool.exe"
18+
$desktop = [Environment]::GetFolderPath("Desktop")
19+
$shortcutPath = Join-Path $desktop "WinTool.lnk"
20+
$exePath = Join-Path $installDir "WinTool.exe"
21+
22+
# Check for winget
23+
Write-ThemeMsg "Checking for winget (Windows Package Manager)..."
24+
$wingetInstalled = $false
25+
try {
26+
$wingetVersion = winget --version 2>&1
27+
if ($wingetVersion -match "\d+\.\d+\.\d+") {
28+
$wingetInstalled = $true
29+
Write-ThemeMsg "winget is installed: $wingetVersion"
30+
}
31+
} catch {
32+
$wingetInstalled = $false
33+
}
34+
if (-not $wingetInstalled) {
35+
Write-ThemeMsg "winget is not installed. Attempting to install App Installer from Microsoft..."
36+
$appInstallerUrl = "https://aka.ms/getwinget"
37+
$appInstallerPath = Join-Path $env:TEMP "AppInstaller.msixbundle"
38+
try {
39+
Invoke-WebRequest -Uri $appInstallerUrl -OutFile $appInstallerPath -UseBasicParsing -ErrorAction Stop
40+
Add-AppxPackage -Path $appInstallerPath
41+
Remove-Item $appInstallerPath -Force
42+
# Re-check winget
43+
$wingetVersion = winget --version 2>&1
44+
if ($wingetVersion -match "\d+\.\d+\.\d+") {
45+
$wingetInstalled = $true
46+
Write-ThemeMsg "winget installed successfully: $wingetVersion"
47+
} else {
48+
Write-ThemeMsg "ERROR: winget installation failed. Please install 'App Installer' from the Microsoft Store manually and re-run this installer."
49+
exit 1
50+
}
51+
} catch {
52+
Write-ThemeMsg "ERROR: winget installation failed. Please install 'App Installer' from the Microsoft Store manually and re-run this installer."
53+
exit 1
54+
}
55+
}
56+
57+
# [PYTHON CHECK REMOVED - No longer required]
58+
59+
Write-ThemeLine "WinTool Installer"
60+
Write-ThemeMsg "_ ___ ______ __"
61+
Write-ThemeMsg "| | /| / (_)__/_ __/__ ___ / /"
62+
Write-ThemeMsg "| |/ |/ / / _ \/ / / _ \/ _ \/ / "
63+
Write-ThemeMsg "|__/|__/_/_//_/_/ \___/\___/_/ "
64+
Write-ThemeLine ""
65+
Write-ThemeMsg "Thank you for choosing WinTool!"
66+
Write-ThemeMsg "Installer will guide you through setup."
67+
Start-Sleep -Milliseconds 700
68+
69+
# Create install directory if it doesn't exist
70+
if (!(Test-Path $installDir)) {
71+
Write-ThemeMsg "Creating installation directory..."
72+
New-Item -ItemType Directory -Path $installDir | Out-Null
73+
Start-Sleep -Milliseconds 400
74+
}
75+
76+
# Download the exe file
77+
Write-ThemeMsg "Downloading WinTool..."
78+
try {
79+
Invoke-WebRequest -Uri $exeUrl -OutFile $exePath -ErrorAction Stop
80+
Write-ThemeMsg "Download complete!"
81+
} catch {
82+
Write-ThemeMsg "ERROR: Download failed. Please check your internet connection or the download URL."
83+
exit 1
84+
}
85+
Start-Sleep -Milliseconds 400
86+
87+
# Confirm the exe exists
88+
if (!(Test-Path $exePath)) {
89+
Write-ThemeMsg "ERROR: WinTool.exe not found after download."
90+
exit 1
91+
}
92+
93+
Write-ThemeMsg "Creating desktop shortcut..."
94+
$WScriptShell = New-Object -ComObject WScript.Shell
95+
$Shortcut = $WScriptShell.CreateShortcut($shortcutPath)
96+
$Shortcut.TargetPath = $exePath
97+
$Shortcut.WorkingDirectory = $installDir
98+
$Shortcut.IconLocation = "$exePath,0"
99+
$Shortcut.Save()
100+
Write-ThemeMsg "Shortcut created!"
101+
102+
Write-ThemeLine "WinTool is installed."
103+
Write-ThemeLine "You can now close this window."
104+
105+
Start-Sleep -Milliseconds 800
106+
107+
# Optionally, start the app automatically
108+
Start-Process -FilePath $exePath

0 commit comments

Comments
 (0)