87 lines
2.8 KiB
JavaScript
87 lines
2.8 KiB
JavaScript
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/1.0.0-beta_branch/releases.json';
|
|
exports.DATA_LOCATIONS = {
|
|
arch: '~/.local/repertory/ui',
|
|
debian9: '~/.local/repertory/ui',
|
|
linux: '~/.local/repertory/ui',
|
|
solus: '~/.local/repertory/ui',
|
|
'ubuntu18.04': '~/.local/repertory/ui',
|
|
'ubuntu18.10': '~/.local/repertory/ui',
|
|
'ubuntu19.04': '~/.local/repertory/ui',
|
|
darwin: '~/Library/Application Support/repertory/ui',
|
|
win32: '%LOCALAPPDATA%\\repertory\\ui'
|
|
};
|
|
exports.UI_RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory-ui/raw/1.0.3_branch/releases.json';
|
|
|
|
exports.PROVIDER_LIST = [
|
|
//'Hyperspace',
|
|
'Sia',
|
|
'SiaPrime'
|
|
];
|
|
|
|
exports.PROVIDER_ARG = {
|
|
//hyperspace: '-hs',
|
|
sia: '',
|
|
siaprime: '-sp'
|
|
};
|
|
|
|
exports.IPC_Browse_Directory = 'browse_directory';
|
|
|
|
exports.IPC_Check_Dependency_Installed = 'check_dependency_installed';
|
|
exports.IPC_Check_Dependency_Installed_Reply = 'check_dependency_installed';
|
|
|
|
exports.IPC_Check_Installed = 'check_installed';
|
|
exports.IPC_Check_Installed_Reply = 'check_installed_reply';
|
|
|
|
exports.IPC_Check_Mount_Location = 'check_mount_location';
|
|
|
|
exports.IPC_Delete_File = 'delete_file';
|
|
|
|
exports.IPC_Detect_Mounts = 'detect_mounts';
|
|
exports.IPC_Detect_Mounts_Reply = 'detect_mounts_reply';
|
|
|
|
exports.IPC_Download_File = 'download_file';
|
|
exports.IPC_Download_File_Complete = 'download_file_complete';
|
|
exports.IPC_Download_File_Progress = 'download_file_progress';
|
|
|
|
exports.IPC_Extract_Release = 'extract_release';
|
|
exports.IPC_Extract_Release_Complete = 'extract_release_complete';
|
|
|
|
exports.IPC_Get_Config = 'get_config';
|
|
exports.IPC_Get_Config_Reply = 'get_config_reply';
|
|
|
|
exports.IPC_Get_Config_Template = 'get_config_template';
|
|
exports.IPC_Get_Config_Template_Reply = 'get_config_template_reply';
|
|
|
|
exports.IPC_Get_Platform = 'get_platform';
|
|
exports.IPC_Get_Platform_Reply = 'get_platform_reply';
|
|
|
|
exports.IPC_Get_State = 'get_state';
|
|
exports.IPC_Get_State_Reply = 'get_state_reply';
|
|
|
|
exports.IPC_Grab_Releases = 'grab_releases';
|
|
exports.IPC_Grab_Releases_Reply = 'grab_releases_reply';
|
|
|
|
exports.IPC_Grab_UI_Releases = 'grab_ui_releases';
|
|
exports.IPC_Grab_UI_Releases_Reply = 'grab_ui_releases_reply';
|
|
|
|
exports.IPC_Install_Dependency = 'install_dependency';
|
|
exports.IPC_Install_Dependency_Reply = 'install_dependency_reply';
|
|
|
|
exports.IPC_Install_Upgrade = 'install_upgrade';
|
|
exports.IPC_Install_Upgrade_Reply = 'install_upgrade_reply';
|
|
|
|
exports.IPC_Mount_Drive = 'mount_drive';
|
|
exports.IPC_Mount_Drive_Reply = 'mount_drive_reply';
|
|
|
|
exports.IPC_Save_State = 'save_state';
|
|
|
|
exports.IPC_Set_Config_Values = 'set_config_values';
|
|
exports.IPC_Set_Config_Values_Reply = 'set_config_values_reply';
|
|
|
|
exports.IPC_Shutdown = 'shutdown';
|
|
|
|
exports.IPC_Unmount_Drive = 'unmount_drive';
|
|
exports.IPC_Unmount_Drive_Reply = 'unmount_drive_reply'; |