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

VSCode version 1.87.2 defaults to opening as administrator. #12971

Open
3 tasks done
wiatrgr opened this issue Mar 18, 2024 · 0 comments
Open
3 tasks done

VSCode version 1.87.2 defaults to opening as administrator. #12971

wiatrgr opened this issue Mar 18, 2024 · 0 comments
Labels

Comments

@wiatrgr
Copy link

wiatrgr commented Mar 18, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

vscode

Expected/Current Behaviour

The Vscode app has been installed globally for a few people. Unfortunately, the program starts as admin, and other users are unable to use it because a new window appears on the screen of the user who launched vscode first :) . Global installation require sudo and its installing as admin.

Steps to Reproduce

PS C:\Users\wiatrgr> sudo scoop install vscode -g
Installing 'vscode' (1.87.2) [64bit] from extras bucket
Loading dl.7z from cache
Checking hash of dl.7z ... ok.
Extracting dl.7z ... done.
Linking C:\ProgramData\scoop\apps\vscode\current => C:\ProgramData\scoop\apps\vscode\1.87.2
Creating shortcut for Visual Studio Code (code.exe)
Persisting data
Running post_install script...
INFO  Adjusting path in extensions file...
'vscode' (1.87.2) was installed successfully!

Possible Solution

It would be great if each user could launch their own VsCode session.

Scoop and Buckets Version

PS C:\Users\wiatrgr> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'dso-scoop-repo' bucket:
e03bff1 (HEAD -> master, origin/master, origin/HEAD) Create Tortoisegit.json

'extras' bucket:
6290e609b (HEAD -> master, origin/master, origin/HEAD) staxrip@2.37.0: Fix hash (Closes #12969)

'main' bucket:
d50b51835 (HEAD -> master, origin/master, origin/HEAD) kubescape: Update to version 3.0.7

Scoop Config

PS C:\Users\wiatrgr> scoop config

last_update                       proxy                                                                scoop_branch scoop_repo
-----------                       -----                                                                ------------ ----------
2024-03-18T13:54:01.5566198+01:00 http://cannot provide these details					 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS C:\Users\wiatrgr> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.6343
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.6343
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@wiatrgr wiatrgr added the bug label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant