Compare commits

..

19 Commits
v2.0.1 ... v2

Author SHA1 Message Date
AMIAY
c0dc65c59a Update dependencies and fix tar version to avoid workflow & electron-builder problem 2026-01-18 14:07:50 +01:00
AMIAY
b748e7316d Update package-lock.json 2026-01-18 13:59:41 +01:00
AMIAY
1c7f24c67c Update package-lock.json 2026-01-18 13:58:23 +01:00
AMIAY
b0c8c6affa Add npm install step to release workflow
Added npm install step before npm ci for all platforms.
2026-01-18 13:55:39 +01:00
AMIAY
472e55668a Update 'tar' dependency version
Updated 'tar' dependency version from 7.0.0 to 7.5.3.
2026-01-18 13:52:50 +01:00
AMIAY
6d09bba996 Merge pull request #34 from fazrigading/fix/tar-7.5.3
fix: update tar to 7.5.3 and add override for GHSA-8qq5-rm4j-mr97
2026-01-18 13:51:11 +01:00
AMIAY
6f3ae4aed7 Add README1.md to the .github directory 2026-01-18 13:45:48 +01:00
AMIAY
ee40bab9c3 Merge pull request #33 from sanasol/feature/build-releases
Github action to build binaries
2026-01-18 13:44:38 +01:00
AMIAY
84dc63b13e Change VPN software reference in server setup
Updated instructions to use Radmin VPN instead of Hamachi.
2026-01-18 13:44:00 +01:00
Fazri Gading
022a1bfde1 Update .gitignore 2026-01-18 20:36:03 +08:00
sanasol
2896ca862b Add README for GitHub Actions build and release workflow detailing triggers, platforms, and artifact generation 2026-01-18 13:27:36 +01:00
Fazri Gading
651cc16485 add override to ensure
nested dependencies in electron-builder are also patched against
arbitrary file overwrite exploits
2026-01-18 20:26:42 +08:00
Fazri Gading
5d986768d9 Delete package-lock.json 2026-01-18 20:18:09 +08:00
Fazri Gading
0f0e360cad Merge branch 'fix/tar-7.5.3' of https://github.com/fazrigading/Hytale-F2P into fix/tar-7.5.3 2026-01-18 20:16:10 +08:00
Fazri Gading
9c95bbb174 removed override for tar>=7.5.3 dep 2026-01-18 20:11:59 +08:00
Fazri Gading
23e32b3688 ignore package lock to avoid conflicts 2026-01-18 20:11:09 +08:00
Fazri Gading
f138ada0a6 Merge branch 'amiayweb:main' into fix/tar-7.5.3 2026-01-18 20:09:57 +08:00
sanasol
b5adf4aa6c Add GitHub Actions workflow for building and releasing artifacts across Linux, Windows, and macOS platforms 2026-01-18 13:08:51 +01:00
Fazri Gading
224f3f77fb chore: pin tar >=7.5.3 and add overrides to address vuln 2026-01-18 19:02:57 +08:00
6 changed files with 76 additions and 4926 deletions

61
.github/README1.md vendored Normal file
View File

@@ -0,0 +1,61 @@
# GitHub Actions
## Build and Release Workflow
The `release.yml` workflow automatically builds the launcher for all platforms.
### Triggers
| Trigger | Builds | Creates Release |
|---------|--------|-----------------|
| Push to `main` | Yes | No |
| Push tag `v*` | Yes | Yes |
| Manual dispatch | Yes | No |
### Platforms
All builds run in parallel:
- **Linux** (ubuntu-latest): AppImage, deb
- **Windows** (windows-latest): NSIS installer, portable exe
- **macOS** (macos-latest): Universal DMG (Intel + Apple Silicon)
### Creating a Release
1. Update version in `package.json`
2. Commit and push to `main`
3. Create and push a version tag:
```bash
git tag v2.0.1
git push origin v2.0.1
```
The workflow will:
1. Build all platforms in parallel
2. Upload artifacts to GitHub Release
3. Generate release notes automatically
### Build Artifacts
After each build, artifacts are available in the Actions tab for 90 days:
- `linux-builds`: `.AppImage`, `.deb`
- `windows-builds`: `.exe`
- `macos-builds`: `.dmg`, `.zip`, `latest-mac.yml`
### Local Development
Build locally for your platform:
```bash
npm run build:linux
npm run build:win
npm run build:mac
```
Or build all platforms (requires appropriate OS):
```bash
npm run build:all
```

View File

@@ -17,10 +17,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npm run build:linux - run: npx electron-builder --linux --publish never
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: linux-builds name: linux-builds
@@ -36,10 +35,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npm run build:win - run: npx electron-builder --win --publish never
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: windows-builds name: windows-builds
@@ -54,10 +52,9 @@ jobs:
with: with:
node-version: '22' node-version: '22'
cache: 'npm' cache: 'npm'
- run: npm install
- run: npm ci - run: npm ci
- run: npm run build:mac - run: npx electron-builder --mac --publish never
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: macos-builds name: macos-builds

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
dist/* dist/*
node_modules/* node_modules/*
package-lock.json

View File

@@ -68,7 +68,7 @@ See [BUILD.md](BUILD.md) for detailed build instructions.
1. Download the server files directly from: `http://3.10.208.30:3002/server` 1. Download the server files directly from: `http://3.10.208.30:3002/server`
2. Replace the existing files in your `HytaleF2P` installation folder 2. Replace the existing files in your `HytaleF2P` installation folder
3. Run the server launcher (.bat) to start hosting your own Hytale server 3. Run the server launcher (.bat) to start hosting your own Hytale server
4. You will need a third party software like Hamachi (check on youtube how to use hamachi). 4. You will need a third party software like Radmin VPN (check on youtube how to use Radmin VPN).
### 🎮 Usage ### 🎮 Usage

4915
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -37,9 +37,12 @@
"adm-zip": "^0.5.10", "adm-zip": "^0.5.10",
"axios": "^1.6.0", "axios": "^1.6.0",
"discord-rpc": "^4.0.1", "discord-rpc": "^4.0.1",
"tar": "^7.0.0", "tar": "6.2.1",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
"overrides": {
"tar": "$tar"
},
"build": { "build": {
"appId": "com.hytalef2p.launcher", "appId": "com.hytalef2p.launcher",
"productName": "Hytale F2P", "productName": "Hytale F2P",
@@ -115,3 +118,4 @@
} }
} }
} }