browser-extension-manager 1.3.9 → 1.3.11
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/dist/background.js +1 -1
- package/dist/gulp/tasks/publish.js +3 -2
- package/package.json +1 -1
package/dist/background.js
CHANGED
|
@@ -494,7 +494,7 @@ function setupGlobalHandlers() {
|
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
// Open the installed page
|
|
497
|
-
const installedUrl =
|
|
497
|
+
const installedUrl = `${website}/extension/installed`;
|
|
498
498
|
console.log('[INSTALL] Opening install page:', installedUrl);
|
|
499
499
|
|
|
500
500
|
extension.tabs.create({ url: installedUrl });
|
|
@@ -10,10 +10,11 @@ const { execute } = require('node-powertools');
|
|
|
10
10
|
// Load package
|
|
11
11
|
const project = Manager.getPackage('project');
|
|
12
12
|
|
|
13
|
-
// Helper to parse browser filter from --browser flag
|
|
13
|
+
// Helper to parse browser filter from --browser flag or BXM_BROWSER env var
|
|
14
14
|
// Returns array of browser names to publish to, or null for all
|
|
15
15
|
function getBrowserFilter() {
|
|
16
|
-
|
|
16
|
+
// Check env var first (works across npm && chains), then CLI arg
|
|
17
|
+
const browser = process.env.BXM_BROWSER || argv.browser;
|
|
17
18
|
|
|
18
19
|
// If true or undefined, publish to all
|
|
19
20
|
if (browser === true || browser === undefined) {
|