mirror of
https://git.sanhost.net/sanasol/hytale-f2p.git
synced 2026-02-26 06:41:47 -03:00
fix: replace GitHub URLs with Forgejo after DMCA takedown
GitHub repo amiayweb/Hytale-F2P was DMCA'd. Updated Discord RPC link, download page URL, and homepage to point to Forgejo instance. Auto-update already pointed to git.sanhost.net (no change needed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
8
main.js
8
main.js
@@ -84,8 +84,8 @@ function setDiscordActivity() {
|
|||||||
largeImageText: 'Hytale F2P Launcher',
|
largeImageText: 'Hytale F2P Launcher',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'GitHub',
|
label: 'Download',
|
||||||
url: 'https://github.com/amiayweb/Hytale-F2P'
|
url: 'https://git.sanhost.net/sanasol/hytale-f2p/releases'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
@@ -964,8 +964,8 @@ ipcMain.handle('open-external', async (event, url) => {
|
|||||||
|
|
||||||
ipcMain.handle('open-download-page', async () => {
|
ipcMain.handle('open-download-page', async () => {
|
||||||
try {
|
try {
|
||||||
// Open GitHub releases page for manual download
|
// Open Forgejo releases page for manual download
|
||||||
await shell.openExternal('https://github.com/amiayweb/Hytale-F2P/releases/latest');
|
await shell.openExternal('https://git.sanhost.net/sanasol/hytale-f2p/releases/latest');
|
||||||
return { success: true };
|
return { success: true };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to open download page:', error);
|
console.error('Failed to open download page:', error);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "hytale-f2p-launcher",
|
"name": "hytale-f2p-launcher",
|
||||||
"version": "2.3.4",
|
"version": "2.3.4",
|
||||||
"description": "A modern, cross-platform launcher for Hytale with automatic updates and multi-client support",
|
"description": "A modern, cross-platform launcher for Hytale with automatic updates and multi-client support",
|
||||||
"homepage": "https://github.com/amiayweb/Hytale-F2P",
|
"homepage": "https://git.sanhost.net/sanasol/hytale-f2p",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
|
|||||||
Reference in New Issue
Block a user