From b673e59d3ca3ebbf3175b5e4139f1a9203c7ff28 Mon Sep 17 00:00:00 2001 From: mileswa1q22 Date: Fri, 10 Jul 2026 00:10:49 -0500 Subject: [PATCH] chore: update version to 0.1.1 and adjust User-Agent headers --- package.json | 2 +- src/main/configurator.ts | 2 +- src/main/installer.ts | 2 +- src/main/scraper.ts | 2 +- src/renderer/components/Sidebar.tsx | 2 +- src/renderer/pages/SettingsPage.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 86994c5..9388408 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "omniemu2", - "version": "0.1.0", + "version": "0.1.1", "description": "Cross-platform emulator manager, game launcher and ROM manager", "main": "dist/main/index.js", "scripts": { diff --git a/src/main/configurator.ts b/src/main/configurator.ts index edb0aef..d0a5f7e 100644 --- a/src/main/configurator.ts +++ b/src/main/configurator.ts @@ -221,7 +221,7 @@ async function fetchRemotePresets(): Promise | nu const { get } = await import('https'); const data = await new Promise((resolve, reject) => { get(presetSourceUrl, { - headers: { 'User-Agent': 'OmniEmu/0.1.0' }, + headers: { 'User-Agent': 'OmniEmu/0.1.1' }, timeout: 10000, }, (res) => { if (res.statusCode !== 200) { reject(new Error(`HTTP ${res.statusCode}`)); return; } diff --git a/src/main/installer.ts b/src/main/installer.ts index 2a53bee..1d513c1 100644 --- a/src/main/installer.ts +++ b/src/main/installer.ts @@ -26,7 +26,7 @@ function downloadFile(url: string, dest: string, onProgress: (pct: number) => vo const doRequest = (currentUrl: string) => { const protocol = currentUrl.startsWith('https') ? httpsGet : httpGet; const opts: RequestOptions = { - headers: { 'User-Agent': 'OmniEmu/0.1.0' }, + headers: { 'User-Agent': 'OmniEmu/0.1.1' }, timeout: 30000, }; protocol(currentUrl, opts, (response) => { diff --git a/src/main/scraper.ts b/src/main/scraper.ts index af6882e..552ec90 100644 --- a/src/main/scraper.ts +++ b/src/main/scraper.ts @@ -94,7 +94,7 @@ function urlExists(url: string): Promise { return new Promise((resolve) => { const req = httpsGet(url, { method: 'GET', - headers: { 'User-Agent': 'OmniEmu/0.1.0' }, + headers: { 'User-Agent': 'OmniEmu/0.1.1' }, timeout: 10000, }, (res) => { // GitHub raw returns 200 for existing or redirects to it diff --git a/src/renderer/components/Sidebar.tsx b/src/renderer/components/Sidebar.tsx index 6799eb0..337bd6c 100644 --- a/src/renderer/components/Sidebar.tsx +++ b/src/renderer/components/Sidebar.tsx @@ -35,7 +35,7 @@ export function Sidebar({ currentPage, onNavigate }: SidebarProps) { ))}
- v0.1.0 + v0.1.1
); diff --git a/src/renderer/pages/SettingsPage.tsx b/src/renderer/pages/SettingsPage.tsx index d832736..f20992b 100644 --- a/src/renderer/pages/SettingsPage.tsx +++ b/src/renderer/pages/SettingsPage.tsx @@ -168,7 +168,7 @@ export function SettingsPage() {

About

- OmniEmu v0.1.0 · Cross-platform emulator manager + OmniEmu v0.1.1 · Cross-platform emulator manager
Built with Electron + React + TypeScript