Skip to content

Instantly share code, notes, and snippets.

@taisan11
Last active October 19, 2024 02:27
Show Gist options
  • Save taisan11/6da5670542ea12a8bd93ea7b0f68a486 to your computer and use it in GitHub Desktop.
Save taisan11/6da5670542ea12a8bd93ea7b0f68a486 to your computer and use it in GitHub Desktop.
{
"version": "0.8.8",
"description": "Modded Minecraft Launcher",
"homepage": "https://modrinth.com/app",
"license": {
"identifier": "GPL-3.0-only",
"url": "https://raw.githubusercontent.com/modrinth/theseus/f6a697780ba45df606d4535205ac4532f87fbc3c/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://launcher-files.modrinth.com/versions/0.8.9/windows/Modrinth%20App_0.8.9_x64-setup.exe",
"hash": "6b54ab432656144fa76c1a7ab52f049f3fe0c7b73d3157629a1cd40f33bbb533"
}
},
"installer": {
"args": "/S /D=$dir",
"keep": false
},
"uninstaller": {
"file": "uninstall.exe",
"args": "/S"
},
"pre_install": [
"@\"",
"SET THESEUS_CONFIG_DIR=$persist_dir\\data",
"START \"\" /b \"$dir\\Modrinth App.exe\"",
"\"@ | Out-File -FilePath \"$dir\\start.bat\" -Encoding ascii"
],
"persist": "data",
"checkver": {
"url": "https://launcher-files.modrinth.com/updates.json",
"jsonpath": "$.platforms.windows-x86_64.install_urls[0]",
"regex": "Modrinth%20App_(\\d+\\.\\d+(\\.\\d+)?)_x64_setup.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://launcher-files.modrinth.com/versions/$version/windows/Modrinth%20App_$version_x64-setup.exe"
}
}
},
"shortcuts": [
[
"start.bat",
"Modrinth App",
"",
"Modrinth App.exe"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment