init: media-center v2
Rewrite of ESH-Media v1 with separated main/renderer/shared architecture (vite-plugin-electron, React 18, react-router-dom). Includes NeDB storage, electron-store config, proxy manager with FoxyProxy/uBlock extensions, custom server-checked updater, NSIS installer. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
20
src/shared/constants.ts
Normal file
20
src/shared/constants.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export const APP_VERSION = '1.0.1';
|
||||
|
||||
export const DEFAULT_CONFIG_SERVER_URL = 'https://your-server.com/api';
|
||||
|
||||
export const DEFAULT_PROXY_PORT = 10808;
|
||||
|
||||
export const DEFAULT_SETTINGS = {
|
||||
configServerUrl: DEFAULT_CONFIG_SERVER_URL,
|
||||
proxyAutoStart: true,
|
||||
theme: 'dark' as const,
|
||||
language: 'ru' as const,
|
||||
};
|
||||
|
||||
export const INVISIBLE_MAN_CLI_PATH = 'invisibleManXRay'; // Path to CLI executable
|
||||
|
||||
export const DB_PATHS = {
|
||||
BOOKMARKS: 'bookmarks.db',
|
||||
SETTINGS: 'settings.db',
|
||||
CONFIG: 'config.json',
|
||||
};
|
||||
Reference in New Issue
Block a user