windscout 0.4.5 → 0.4.6
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/package.json +1 -1
- package/windscout.js +2 -1
package/package.json
CHANGED
package/windscout.js
CHANGED
|
@@ -841,7 +841,8 @@ async function main() {
|
|
|
841
841
|
const saved = loadConfig();
|
|
842
842
|
if (protocols && saved) saved.protocols = protocols.filter((p) => PROTOCOLS.includes(p));
|
|
843
843
|
speedTest = !a["no-speed"] && (saved?.speed ?? false); // first run: connect-only
|
|
844
|
-
|
|
844
|
+
// already on in the app: show it on, since the scan won't turn it off
|
|
845
|
+
firewall = a.firewall || /^Firewall state: On/m.test(status) || (saved?.firewall ?? false);
|
|
845
846
|
const choice = await pick(saved, timeout);
|
|
846
847
|
if (!choice) return;
|
|
847
848
|
countries = choice.countries;
|