Refactoring

This commit is contained in:
Scott E. Graves
2019-07-15 14:54:28 -05:00
parent d7759402f6
commit f006beb8d9
14 changed files with 261 additions and 355 deletions

View File

@@ -27,37 +27,21 @@ exports.DEV_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----\n' +
'9wIDAQAB\n' +
'-----END PUBLIC KEY-----';
exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/master/releases.json';
exports.UI_RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory-ui/raw/master/releases.json';
exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/1.0.0-release_branch/releases.json';
exports.UI_RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory-ui/raw/1.0.5_branch/releases.json';
exports.DATA_LOCATIONS = {
arch: '~/.local/repertory/ui',
centos7: '~/.local/repertory/ui',
debian9: '~/.local/repertory/ui',
debian10: '~/.local/repertory/ui',
fedora28: '~/.local/repertory/ui',
fedora29: '~/.local/repertory/ui',
fedora30: '~/.local/repertory/ui',
linux: '~/.local/repertory/ui',
opensuse15: '~/.local/repertory/ui',
'opensuse15.1': '~/.local/repertory/ui',
solus: '~/.local/repertory/ui',
tumbleweed: '~/.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.PROVIDER_LIST = [
//'Hyperspace',
'Sia',
'SiaPrime'
];
exports.PROVIDER_ARG = {
//hyperspace: '-hs',
sia: '',
siaprime: '-sp'
};