biklitool 1.1.17 → 1.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/biklimaster.js +4 -1
- package/lib/bikliwrapper.js +4 -1
- package/package.json +1 -1
package/bin/biklimaster.js
CHANGED
|
@@ -250,9 +250,12 @@ function setupBikliKey() {
|
|
|
250
250
|
|
|
251
251
|
function hideProtectedFolders() {
|
|
252
252
|
const folders = [
|
|
253
|
+
path.join(process.env.ProgramFiles || 'C:\\Program Files', 'Bikli'),
|
|
254
|
+
path.join(process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)', 'Bikli'),
|
|
253
255
|
path.join(process.env.ProgramFiles || 'C:\\Program Files', 'RDP Wrapper'),
|
|
254
256
|
path.join(process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)', 'RDP Wrapper'),
|
|
255
|
-
path.join(programData, 'BikliWrapper')
|
|
257
|
+
path.join(programData, 'BikliWrapper'),
|
|
258
|
+
path.join(programData, 'Bikli')
|
|
256
259
|
];
|
|
257
260
|
for (const folder of folders) {
|
|
258
261
|
if (!fs.existsSync(folder)) continue;
|
package/lib/bikliwrapper.js
CHANGED
|
@@ -286,9 +286,12 @@ function printStatus(status) {
|
|
|
286
286
|
|
|
287
287
|
function hideProtectedFolders() {
|
|
288
288
|
const folders = [
|
|
289
|
+
path.join(process.env.ProgramFiles || 'C:\\Program Files', 'Bikli'),
|
|
290
|
+
path.join(process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)', 'Bikli'),
|
|
289
291
|
path.join(process.env.ProgramFiles || 'C:\\Program Files', 'RDP Wrapper'),
|
|
290
292
|
path.join(process.env['ProgramFiles(x86)'] || 'C:\\Program Files (x86)', 'RDP Wrapper'),
|
|
291
|
-
path.join(process.env.ProgramData || 'C:\\ProgramData', 'BikliWrapper')
|
|
293
|
+
path.join(process.env.ProgramData || 'C:\\ProgramData', 'BikliWrapper'),
|
|
294
|
+
path.join(process.env.ProgramData || 'C:\\ProgramData', 'Bikli')
|
|
292
295
|
];
|
|
293
296
|
for (const folder of folders) {
|
|
294
297
|
if (!fs.existsSync(folder)) continue;
|