Skip to content

Commit 9c22c8c

Browse files
committed
init(by GPT-5.3-codex)
0 parents  commit 9c22c8c

20 files changed

Lines changed: 11017 additions & 0 deletions

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
src-tauri/target
4+
*.zip
5+

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GTLite打包工具
2+
3+
100% AI, 0% 人工

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!doctype html>
2+
<html lang="zh-CN">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>GTLite Downloader GUI</title>
7+
<script type="module" src="/src/main.js"></script>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
</body>
12+
</html>

install.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$packwiz = "https://nightly.link/packwiz/packwiz/workflows/go/main/Windows%2064-bit.zip"
2+
$packwiz_archive="./packwiz.zip"
3+
if (-not (Test-Path -Path $packwiz_archive))
4+
{
5+
Invoke-WebRequest -Uri $packwiz -OutFile $packwiz_archive
6+
}
7+
Expand-Archive $packwiz_archive
8+
9+
$modpack="https://github.com/GregTechLite/GregTech-Lite-Modpack/archive/refs/heads/main.zip"
10+
$modpack_archive="./modpack.zip"
11+
if (-not (Test-Path -Path $modpack_archive))
12+
{
13+
Invoke-WebRequest -Uri $modpack -OutFile $modpack_archive
14+
}
15+
Expand-Archive $modpack_archive
16+
Set-Location "./modpack/GregTech-Lite-Modpack-Main"
17+
. '../../packwiz/packwiz.exe' curseforge export -y -o "../../GregTech-Lite-Modpack.cf.zip"

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "gtlite-downloader-gui",
3+
"private": true,
4+
"version": "0.1.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vite build",
9+
"tauri": "tauri",
10+
"tauri:dev": "tauri dev",
11+
"package:win": "tauri build --bundles nsis",
12+
"package:win:debug": "tauri build --debug --bundles nsis"
13+
},
14+
"dependencies": {
15+
"@tauri-apps/api": "^2.0.0"
16+
},
17+
"devDependencies": {
18+
"@tauri-apps/cli": "^2.1.0",
19+
"vite": "^5.4.0"
20+
}
21+
}

0 commit comments

Comments
 (0)