|
| 1 | +# ModSync |
| 2 | + |
| 3 | +**Minecraft Modpack Auto-Updater** for private servers - Keep your mods in sync effortlessly! |
| 4 | + |
| 5 | +[](https://github.com/DizzyMii/modsync/actions) |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- **One-Click Updates** - Download and install modpacks instantly |
| 10 | +- **Auto-Detection** - Automatically finds your Minecraft mods folder |
| 11 | +- **Multiple Sources** - Support for Google Drive links or local zip files |
| 12 | +- **Cross-Platform** - Works on Windows, macOS, and Linux |
| 13 | +- **Safe** - Validates files and prevents data loss |
| 14 | +- **Fast** - Efficient extraction with progress tracking |
| 15 | + |
| 16 | +## Download |
| 17 | + |
| 18 | +Get the latest version from the [Releases](https://github.com/DizzyMii/modsync/releases) page: |
| 19 | + |
| 20 | +- **Windows**: `ModSync.exe` (portable, no installation required) |
| 21 | +- **macOS**: `ModSync.dmg` (drag to Applications) |
| 22 | + |
| 23 | +Or download from [GitHub Actions](https://github.com/DizzyMii/modsync/actions) artifacts. |
| 24 | + |
| 25 | +## Usage |
| 26 | + |
| 27 | +### Google Drive Method |
| 28 | +1. Launch ModSync |
| 29 | +2. Paste your Google Drive share link |
| 30 | +3. Click "Update from Google Drive" |
| 31 | +4. Wait for download and installation to complete |
| 32 | + |
| 33 | +### Local File Method |
| 34 | +1. Download your modpack zip file |
| 35 | +2. Launch ModSync |
| 36 | +3. Switch to "Local File" tab |
| 37 | +4. Drag and drop your zip file or click to browse |
| 38 | +5. Click "Update from Local File" |
| 39 | + |
| 40 | +## Supported Paths |
| 41 | + |
| 42 | +- **Windows**: `%APPDATA%\.minecraft\mods` |
| 43 | +- **macOS**: `~/Library/Application Support/minecraft/mods` |
| 44 | +- **Linux**: `~/.minecraft/mods` |
| 45 | + |
| 46 | +Can't find your mods folder? Use the "Browse" button to select it manually. |
| 47 | + |
| 48 | +## Development |
| 49 | + |
| 50 | +### Prerequisites |
| 51 | +- Node.js 20+ |
| 52 | +- npm |
| 53 | + |
| 54 | +### Setup |
| 55 | +```bash |
| 56 | +git clone https://github.com/DizzyMii/modsync.git |
| 57 | +cd modsync |
| 58 | +npm install |
| 59 | +``` |
| 60 | + |
| 61 | +### Run Development Build |
| 62 | +```bash |
| 63 | +npm run dev |
| 64 | +``` |
| 65 | + |
| 66 | +### Build for Production |
| 67 | +```bash |
| 68 | +npm run build:win # Windows |
| 69 | +npm run build:mac # macOS (requires macOS) |
| 70 | +npm run build # Both platforms |
| 71 | +``` |
| 72 | + |
| 73 | +## CI/CD |
| 74 | + |
| 75 | +This project uses GitHub Actions to automatically build for both Windows and macOS on every push. Builds are available as artifacts in the Actions tab. |
| 76 | + |
| 77 | +## Security |
| 78 | + |
| 79 | +- ✅ Validates ZIP file integrity before extraction |
| 80 | +- ✅ Prevents zip-slip attacks |
| 81 | +- ✅ Checks file locks before deletion |
| 82 | +- ✅ No telemetry or data collection |
| 83 | + |
| 84 | +## Troubleshooting |
| 85 | + |
| 86 | +| Error | Solution | |
| 87 | +|-------|----------| |
| 88 | +| Minecraft folder not found | Ensure Minecraft is installed or use manual selection | |
| 89 | +| Cannot update while Minecraft is running | Close Minecraft completely before updating | |
| 90 | +| Google Drive download failed | Try the Local File method or check link permissions | |
| 91 | +| macOS "App can't be opened" | Right-click → Open → Open anyway, or run `xattr -cr /Applications/ModSync.app` | |
| 92 | + |
| 93 | +## License |
| 94 | + |
| 95 | +MIT |
0 commit comments