mirror of
https://github.com/araxiaonline/wow-client-patcher.git
synced 2026-06-13 03:12:24 -04:00
Added constants use for methods and api
This commit is contained in:
24
src/constants/index.ts
Normal file
24
src/constants/index.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
const Channels = {
|
||||
WOW_LAUNCH: 'launch-wow',
|
||||
WOW_LAUNCH_ERROR: 'launch-wow-error',
|
||||
WOW_CLIENT_EXIT: 'launch-wow-exit',
|
||||
APP_INFO: 'app-info', // Initial application information
|
||||
APP_API: 'api-invoke',
|
||||
DOWNLOAD_START: 'download-start',
|
||||
DOWNLOAD_END: 'download-end',
|
||||
DOWNLOAD_PROGRESS: 'download-progress',
|
||||
DOWNLOAD_BATCH_START: 'download-batch-start',
|
||||
DOWNLOAD_BATCH_END: 'download-batch-end',
|
||||
DOWNLOAD_BATCH_DATA: 'download-batch-data',
|
||||
} as const;
|
||||
|
||||
const PLATFORM = {
|
||||
WINDOWS: 'win32',
|
||||
MAC: 'darwin',
|
||||
LINUX: 'linux',
|
||||
} as const
|
||||
|
||||
export{
|
||||
Channels,
|
||||
PLATFORM,
|
||||
}
|
||||
Reference in New Issue
Block a user