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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/windscout.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windscout",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Find which Windscribe locations and protocols work from your network, ranked by speed (unofficial)",
5
5
  "type": "module",
6
6
  "bin": {
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
- firewall = a.firewall || (saved?.firewall ?? false);
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;