This commit is contained in:
Jan Prochazka 2021-04-17 11:18:40 +02:00
parent 585731a1b3
commit 553329688a

View File

@ -7,7 +7,7 @@ const platform = p.env.OS_OVERRIDE ? p.env.OS_OVERRIDE : p.platform;
const isWindows = platform === 'win32'; const isWindows = platform === 'win32';
const isMac = platform === 'darwin'; const isMac = platform === 'darwin';
const isLinux = platform === 'linux'; const isLinux = platform === 'linux';
const isDocker = fs.existsSync('/home/dbgate-docker/build'); const isDocker = fs.existsSync('/home/dbgate-docker/public');
const isDevMode = p.env.DEVMODE == '1'; const isDevMode = p.env.DEVMODE == '1';
const isNpmDist = p.argv[2] == 'startNodeWeb'; const isNpmDist = p.argv[2] == 'startNodeWeb';