Extras icon indicating copy to clipboard operation
Extras copied to clipboard

VSCode version 1.87.2 defaults to opening as administrator.

Open wiatrgr opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • [X] 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) [email protected]: 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 avatar Mar 18 '24 13:03 wiatrgr