feat(docs): fixed firefox access
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
var path = require('path');
|
||||
var fs = require('fs');
|
||||
var os = require('os');
|
||||
var { exec } = require('child_process');
|
||||
var { getPlatformDir } = require('../utils/platform');
|
||||
|
||||
@@ -242,7 +241,7 @@ function register(program) {
|
||||
}
|
||||
|
||||
var html = buildSelectionPage(javaPath, reactNativePath);
|
||||
var tmpFile = path.join(os.tmpdir(), 'vitruvio-docs-selector.html');
|
||||
var tmpFile = path.join(platformDir, 'docs-selector.html');
|
||||
fs.writeFileSync(tmpFile, html, 'utf8');
|
||||
|
||||
console.log('Abrindo seletor de documentação...');
|
||||
|
||||
Reference in New Issue
Block a user