@@ -4,6 +4,7 @@ const fs = require('fs');
44const fsPromise = require ( 'fs' ) . promises ;
55const path = require ( 'path' ) ;
66const os = require ( 'os' ) ;
7+ const { SYSTEM_SETTINGS_DIR } = require ( './constants' ) ;
78const { lintFile } = require ( "./ESLint/service" ) ;
89const { addDeviceLicense, getDeviceID, isLicensedDevice, removeDeviceLicense } = require ( "./licence-device" ) ;
910let openModule , open ; // dynamic import when needed
@@ -274,6 +275,10 @@ async function getOSUserName() {
274275 return os . userInfo ( ) . username ;
275276}
276277
278+ async function getSystemSettingsDir ( ) {
279+ return SYSTEM_SETTINGS_DIR ;
280+ }
281+
277282exports . getURLContent = getURLContent ;
278283exports . setLocaleStrings = setLocaleStrings ;
279284exports . getPhoenixBinaryVersion = getPhoenixBinaryVersion ;
@@ -288,5 +293,6 @@ exports.removeDeviceLicense = removeDeviceLicense;
288293exports . isLicensedDevice = isLicensedDevice ;
289294exports . getDeviceID = getDeviceID ;
290295exports . getOSUserName = getOSUserName ;
296+ exports . getSystemSettingsDir = getSystemSettingsDir ;
291297exports . _loadNodeExtensionModule = _loadNodeExtensionModule ;
292298exports . _npmInstallInFolder = _npmInstallInFolder ;
0 commit comments