From f5e2c9b9291be3a646c407a86d8f5fdc76cecd9f Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Sun, 18 Jan 2026 16:40:54 +0800 Subject: fix(build): fix pnpm build script --- src-tauri/tauri.conf.json | 80 +++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'src-tauri/tauri.conf.json') diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index dd84fd4..e376299 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,43 +1,43 @@ { - "productName": "dropout", - "version": "0.1.26", - "identifier": "com.dropout.launcher", - "build": { - "beforeDevCommand": "pnpm -C ../ui dev", - "beforeBuildCommand": "pnpm -C ../ui build", - "devUrl": "http://localhost:5173", - "frontendDist": "../ui/dist" - }, - "app": { - "windows": [ - { - "title": "Minecraft DropOut Launcher", - "width": 1024, - "height": 768, - "minWidth": 905, - "minHeight": 575, - "resizable": true - } - ], - "security": { - "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https: ws: wss:;", - "capabilities": ["default"] - } - }, - "bundle": { - "active": true, - "targets": "all", - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" - ], - "linux": { - "appimage": { - "bundleMediaFramework": false - } - } + "productName": "dropout", + "version": "0.1.26", + "identifier": "com.dropout.launcher", + "build": { + "beforeDevCommand": "pnpm --filter @dropout/ui dev", + "beforeBuildCommand": "pnpm --filter @dropout/ui build", + "devUrl": "http://localhost:5173", + "frontendDist": "../ui/dist" + }, + "app": { + "windows": [ + { + "title": "Minecraft DropOut Launcher", + "width": 1024, + "height": 768, + "minWidth": 905, + "minHeight": 575, + "resizable": true + } + ], + "security": { + "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https: ws: wss:;", + "capabilities": ["default"] } + }, + "bundle": { + "active": true, + "targets": "all", + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "linux": { + "appimage": { + "bundleMediaFramework": false + } + } + } } -- cgit v1.2.3-70-g09d2 From f60c12c851e32859ae3905c0a9da717a5e6df3e4 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Sun, 18 Jan 2026 22:02:03 +0800 Subject: ci(semifold): change os name --- .github/workflows/semifold-ci.yaml | 4 ++-- src-tauri/tauri.conf.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src-tauri/tauri.conf.json') diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml index 79df1b1..098eec5 100644 --- a/.github/workflows/semifold-ci.yaml +++ b/.github/workflows/semifold-ci.yaml @@ -20,7 +20,7 @@ jobs: matrix: include: - platform: "ubuntu-22.04" - name: "Linux x86-64" + name: "Linux x86_64" target: "x86_64-unknown-linux-gnu" args: "--target x86_64-unknown-linux-gnu" - platform: "ubuntu-24.04-arm" @@ -32,7 +32,7 @@ jobs: target: "aarch64-apple-darwin" args: "--target aarch64-apple-darwin" - platform: "windows-latest" - name: "Windows x86-64" + name: "Windows x86_64" target: "x86_64-pc-windows-msvc" args: "--target x86_64-pc-windows-msvc" - platform: "windows-11-arm" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e376299..fec2eb3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "productName": "dropout", - "version": "0.1.26", + "version": "0.2.0-alpha", "identifier": "com.dropout.launcher", "build": { "beforeDevCommand": "pnpm --filter @dropout/ui dev", -- cgit v1.2.3-70-g09d2 From 549b4b443f12c5dd22c020dcec1e0e88c2202d13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 18 Jan 2026 16:41:01 +0000 Subject: chore(release): bump versions --- .changes/alpha.md | 6 ------ .github/ISSUE_TEMPLATE/config.yml | 4 ++-- src-tauri/CHANGELOG.md | 7 +++++++ src-tauri/Cargo.toml | 2 +- src-tauri/src/main.rs | 2 +- src-tauri/tauri.conf.json | 2 +- ui/CHANGELOG.md | 7 +++++++ ui/package.json | 4 ++-- ui/src/components/HomeView.svelte | 2 +- 9 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 .changes/alpha.md create mode 100644 src-tauri/CHANGELOG.md create mode 100644 ui/CHANGELOG.md (limited to 'src-tauri/tauri.conf.json') diff --git a/.changes/alpha.md b/.changes/alpha.md deleted file mode 100644 index d6f82b9..0000000 --- a/.changes/alpha.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@dropout/ui": "patch:feat" -dropout: "patch:feat" ---- - -Prepare for alpha mode pre-release. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b2dbc20..dfb46d9 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,8 +4,8 @@ contact_links: url: https://dropout.hydroroll.team about: Read the project documentation and guides - name: Discussions - url: https://github.com/HsiangNianian/DropOut/discussions + url: https://github.com/HydroRoll-Team/DropOut/discussions about: Ask questions and discuss ideas with the community - name: Releases - url: https://github.com/HsiangNianian/DropOut/releases + url: https://github.com/HydroRoll-Team/DropOut/releases about: Download the latest version or view changelog diff --git a/src-tauri/CHANGELOG.md b/src-tauri/CHANGELOG.md new file mode 100644 index 0000000..4b2d22b --- /dev/null +++ b/src-tauri/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## v0.2.0-alpha.1 + +### New Features + +- [`e7ac28c`](https://github.com/HydroRoll-Team/DropOut/commit/e7ac28c6b8467a8fca0a3b61ba498e4742d3a718): Prepare for alpha mode pre-release. ([#62](https://github.com/HydroRoll-Team/DropOut/pull/62) by @fu050409) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index acf9564..74b0203 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dropout" -version = "0.2.0-alpha" +version = "0.2.0-alpha.1" edition = "2021" authors = ["HsiangNianian"] description = "The DropOut Minecraft Game Launcher" diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 35e2ef5..e4d0a2e 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -2141,7 +2141,7 @@ struct GithubRelease { async fn get_github_releases() -> Result, String> { let client = reqwest::Client::new(); let res = client - .get("https://api.github.com/repos/HsiangNianian/DropOut/releases") + .get("https://api.github.com/repos/HydroRoll-Team/DropOut/releases") .header("User-Agent", "DropOut-Launcher") .send() .await diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index fec2eb3..2f0ace7 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "productName": "dropout", - "version": "0.2.0-alpha", + "version": "0.2.0-alpha.1", "identifier": "com.dropout.launcher", "build": { "beforeDevCommand": "pnpm --filter @dropout/ui dev", diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md new file mode 100644 index 0000000..4b2d22b --- /dev/null +++ b/ui/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## v0.2.0-alpha.1 + +### New Features + +- [`e7ac28c`](https://github.com/HydroRoll-Team/DropOut/commit/e7ac28c6b8467a8fca0a3b61ba498e4742d3a718): Prepare for alpha mode pre-release. ([#62](https://github.com/HydroRoll-Team/DropOut/pull/62) by @fu050409) diff --git a/ui/package.json b/ui/package.json index 934b149..1e30b01 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dropout/ui", - "version": "0.2.0-alpha", + "version": "0.2.0-alpha.1", "private": true, "type": "module", "scripts": { @@ -38,4 +38,4 @@ "typescript": "~5.9.3", "vite": "npm:rolldown-vite@7.2.5" } -} +} \ No newline at end of file diff --git a/ui/src/components/HomeView.svelte b/ui/src/components/HomeView.svelte index 2fa8390..573d9da 100644 --- a/ui/src/components/HomeView.svelte +++ b/ui/src/components/HomeView.svelte @@ -108,7 +108,7 @@ // GitHub commit hash linking (simple version for 7-40 hex chars inside backticks) processed = processed.replace(/`([0-9a-f]{7,40})`/g, (match, hash) => { - return `${hash.substring(0, 7)}`; + return `${hash.substring(0, 7)}`; }); // Auto-link users (@user) -- cgit v1.2.3-70-g09d2