mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 07:24:15 +02:00
[wgem] fix icon path definition and caching | param --reset cleaning the web environment as well
This commit is contained in:
@@ -6,12 +6,12 @@ from bauh.api.constants import HOME_PATH, DESKTOP_ENTRIES_DIR
|
||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
WEB_PATH = '{}/.local/share/bauh/web'.format(Path.home())
|
||||
INSTALLED_PATH = '{}/installed'.format(WEB_PATH)
|
||||
BIN_PATH = '{}/runtime'.format(WEB_PATH)
|
||||
NODE_DIR_PATH = '{}/node'.format(BIN_PATH)
|
||||
ENV_PATH = '{}/env'.format(WEB_PATH)
|
||||
NODE_DIR_PATH = '{}/node'.format(ENV_PATH)
|
||||
NODE_PATHS = {NODE_DIR_PATH + '/bin'}
|
||||
NODE_BIN_PATH = '{}/bin/node'.format(NODE_DIR_PATH)
|
||||
NPM_BIN_PATH = '{}/bin/npm'.format(NODE_DIR_PATH)
|
||||
NODE_MODULES_PATH = '{}/node_modules'.format(BIN_PATH)
|
||||
NODE_MODULES_PATH = '{}/node_modules'.format(ENV_PATH)
|
||||
NATIVEFIER_BIN_PATH = '{}/.bin/nativefier'.format(NODE_MODULES_PATH)
|
||||
ELECTRON_PATH = '{}/.cache/electron'.format(HOME_PATH)
|
||||
ELECTRON_DOWNLOAD_URL = 'https://github.com/electron/electron/releases/download/v{version}/electron-v{version}-linux-{arch}.zip'
|
||||
|
||||
Reference in New Issue
Block a user