Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(windows): connect network for non-admin users #164

Merged
merged 3 commits into from
Aug 11, 2021

Conversation

geetanshjain
Copy link
Contributor

Description

While connecting to a network in windows by a non-admin user, the connection fails if the project/package-workspace is under some restricted location (Ex: Program Files) because the nodeWifiConnect.xml is created is not getting created due to permission issues.
Changed the location of nodeWifiConnect.xml to be created in a temporary directory (C:\Users\AppData\Local\Temp) so that work flow is uninterrupted for non-admin user also.

Motivation and Context

This change is required as all window users (Admin and Non-Admin) should be able to connect to the network.
#159

Usage examples

How Has This Been Tested?

After the required changes are done, we tried to connect to the network in a non-admin user machine, which works as expected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactorization (non-functional change which improve code readibility)

@friedrith
Copy link
Owner

Hi, give me 2 days to process this PR.

Copy link
Owner

@friedrith friedrith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement.

src/windows-connect.js Outdated Show resolved Hide resolved
@friedrith friedrith merged commit 08440d4 into friedrith:master Aug 11, 2021
@friedrith
Copy link
Owner

Perfect 👌

@friedrith
Copy link
Owner

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Repository owner locked and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants