Skip to content

Commit 2f1fc08

Browse files
committed
fx fetch-gcpad script (repo changed)
1 parent 424f6e2 commit 2f1fc08

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ The launcher can now scan your PC's hardware and use it across the whole UC ecos
308308

309309
### Fixes & Improvements
310310

311-
- **Fixed download payload type validation in Electron** - the `uc:download-start` and `uc:download-resume-with-fresh-url` IPC handlers now defensively coerce non-string `url` values (e.g., persisted `DownloadHostEntry` objects from old builds) to strings before calling `.includes()`, preventing "url.includes is not a function" errors ([#15](https://github.com/Union-Crax/UnionCrax.Direct/issues/15))
311+
- **Fixed download payload type validation in Electron** - the `uc:download-start` and `uc:download-resume-with-fresh-url` IPC handlers now defensively coerce non-string `url` values (e.g., persisted `DownloadHostEntry` objects from old builds) to strings before calling `.includes()`, preventing "url.includes is not a function" errors ([#15](https://github.com/UnionCrax-Team/UnionCrax.Direct/issues/15))
312312
- **Fixed stale download restoration from localStorage** - download items persisted by older builds that had `url` as an object (`{url: string, part: number|null}`) are now sanitized on app startup, extracting the string URL before resuming
313313
- **Added type coercion in resolveDownloadUrl** - the `resolveDownloadUrl` function now coerces non-string `url` inputs at entry point, ensuring old persisted state can never produce a falsely-resolved download URL object
314314

@@ -343,7 +343,7 @@ The launcher can now scan your PC's hardware and use it across the whole UC ecos
343343
- Each sidebar item shows descriptive text for quick identification
344344
- Update check button moved to sidebar footer for easy access
345345
- Eliminates endless scrolling while preserving all existing functionality
346-
- **Linux gaming and VR support** - added comprehensive support for Windows games on Linux via Wine/Proton, and set up SteamVR/OpenXR for VR games ([#14](https://github.com/Union-Crax/UnionCrax.Direct/pull/14))
346+
- **Linux gaming and VR support** - added comprehensive support for Windows games on Linux via Wine/Proton, and set up SteamVR/OpenXR for VR games ([#14](https://github.com/UnionCrax-Team/UnionCrax.Direct/pull/14))
347347
- Added `ucLinux` and `ucVR` IPC APIs in the Electron preload script
348348
- Introduced `LINUX_SETTINGS_KEYS` and `VR_SETTINGS_KEYS` constants for persistent storage
349349
- Implemented comprehensive UI controls in SettingsPage for Wine/Proton and VR runtime configuration

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Thank you for your interest in contributing! This guide will help you set up the
1212

1313
### 1. Clone the repository
1414
```bash
15-
git clone https://github.com/Union-Crax/UnionCrax.Direct.git
15+
git clone https://github.com/UnionCrax-Team/UnionCrax.Direct.git
1616
cd UnionCrax.Direct
1717
```
1818

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A fast, standalone Electron desktop application for managing and launching games from the UnionCrax platform. Direct downloads with minimal overhead and full control over your gaming library.
66

7-
![Version](https://img.shields.io/github/v/release/Union-Crax/UnionCrax.Direct?include_prereleases&style=flat-square)
7+
![Version](https://img.shields.io/github/v/release/UnionCrax-Team/UnionCrax.Direct?include_prereleases&style=flat-square)
88
![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)
99
![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux-0078d4?style=flat-square)
1010

@@ -39,20 +39,20 @@ A fast, standalone Electron desktop application for managing and launching games
3939
### Windows Installation Options
4040

4141
#### Option 1: NSIS Installer (Recommended)
42-
1. Go to [Releases](https://github.com/Union-Crax/UnionCrax.Direct/releases)
42+
1. Go to [Releases](https://github.com/UnionCrax-Team/UnionCrax.Direct/releases)
4343
2. Download `UnionCrax.Direct.Setup.X.X.X.exe`
4444
3. Run the installer and choose installation directory
4545
4. Create desktop/Start Menu shortcuts
4646
5. Launch UnionCrax.Direct from Start Menu or desktop
4747

4848
#### Option 2: Portable Executable
49-
1. Go to [Releases](https://github.com/Union-Crax/UnionCrax.Direct/releases)
49+
1. Go to [Releases](https://github.com/UnionCrax-Team/UnionCrax.Direct/releases)
5050
2. Download `UnionCrax.Direct.X.X.X.exe`
5151
3. Run directly - no installation needed
5252
4. Settings and data are stored alongside the executable
5353

5454
#### Option 3: ZIP Archive
55-
1. Go to [Releases](https://github.com/Union-Crax/UnionCrax.Direct/releases)
55+
1. Go to [Releases](https://github.com/UnionCrax-Team/UnionCrax.Direct/releases)
5656
2. Download `UnionCrax.Direct-X.X.X-win.zip`
5757
3. Extract to your preferred location
5858
4. Run `UnionCrax.Direct.exe` from the extracted folder
@@ -71,7 +71,7 @@ This installs the AppImage to `~/.local/share/UnionCrax.Direct` and adds a launc
7171
- Check [UnionCrax Status](https://status.union-crax.xyz)
7272

7373
### Having issues?
74-
- [Report an Issue](https://github.com/Union-Crax/UnionCrax.Direct/issues)
74+
- [Report an Issue](https://github.com/UnionCrax-Team/UnionCrax.Direct/issues)
7575
- [Post on our socials](https://union-crax.xyz/discord)
7676

7777
## Development
@@ -82,7 +82,7 @@ Want to contribute? See [CONTRIBUTING.md](CONTRIBUTING.md) for setup instruction
8282

8383
```bash
8484
# Clone repository
85-
git clone https://github.com/Union-Crax/UnionCrax.Direct.git
85+
git clone https://github.com/UnionCrax-Team/UnionCrax.Direct.git
8686
cd UnionCrax.Direct
8787

8888
# Install dependencies

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"license": "MIT",
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/Union-Crax/UnionCrax.Direct.git"
11+
"url": "https://github.com/UnionCrax-Team/UnionCrax.Direct.git"
1212
},
1313
"bugs": {
14-
"url": "https://github.com/Union-Crax/UnionCrax.Direct/issues"
14+
"url": "https://github.com/UnionCrax-Team/UnionCrax.Direct/issues"
1515
},
16-
"homepage": "https://github.com/Union-Crax/UnionCrax.Direct#readme",
16+
"homepage": "https://github.com/UnionCrax-Team/UnionCrax.Direct#readme",
1717
"scripts": {
1818
"setup": "node ./node_modules/electron/install.js",
1919
"dev": "concurrently -k \"pnpm:dev:renderer\" \"pnpm:dev:electron\"",
@@ -87,7 +87,7 @@
8787
"publish": [
8888
{
8989
"provider": "github",
90-
"owner": "Union-Crax",
90+
"owner": "UnionCrax-Team",
9191
"repo": "UnionCrax.Direct"
9292
}
9393
],

scripts/fetch-gcpad.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* fetch-gcpad.cjs
33
*
44
* Downloads the gcpad-unioncrax-direct.zip asset from the latest
5-
* veeeanti/GCPad_API GitHub release and extracts gcpad.dll and SDL2.dll
5+
* UnionCrax-Team/GCPad_API GitHub release and extracts gcpad.dll and SDL2.dll
66
* into gcpad-dll/.
77
*
88
* Usage:
@@ -20,7 +20,7 @@ const path = require('node:path')
2020
const url = require('node:url')
2121
const { execSync } = require('node:child_process')
2222

23-
const REPO = 'veeeanti/GCPad_API'
23+
const REPO = 'UnionCrax-Team/GCPad_API'
2424
const ZIP_ASSET = 'gcpad-unioncrax-direct.zip'
2525
const OUT_DIR = path.join(__dirname, '..', 'gcpad-dll')
2626

@@ -106,7 +106,7 @@ async function main() {
106106

107107
if (release.message === 'Not Found') {
108108
console.error(`[fetch-gcpad] No release found${tagArg ? ` for tag ${tagArg}` : ''}.`)
109-
console.error(` Push a version tag (e.g. v1.0.0) to veeeanti/GCPad_API to create one.`)
109+
console.error(` Push a version tag (e.g. v1.0.0) to UnionCrax-Team/GCPad_API to create one.`)
110110
process.exit(1)
111111
}
112112

0 commit comments

Comments
 (0)