From 0ff6b33e2caf34d1267f22fc6b947b30b5642d1f Mon Sep 17 00:00:00 2001 From: jb Date: Fri, 17 Apr 2026 15:08:13 -0300 Subject: [PATCH] feat(docs): fixed firefox access --- src/commands/docs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/docs.js b/src/commands/docs.js index e4ad154..f41494e 100644 --- a/src/commands/docs.js +++ b/src/commands/docs.js @@ -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...');