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

File doesn't have app associated with it #32

Open
vaishnavm217 opened this issue Jul 10, 2020 · 4 comments
Open

File doesn't have app associated with it #32

vaishnavm217 opened this issue Jul 10, 2020 · 4 comments

Comments

@vaishnavm217
Copy link

image

Currently using Windows terminal stable with custom profiles in settings.json

@ryudice
Copy link

ryudice commented Jul 16, 2020

same issue here

@RafaelDeJongh
Copy link

Same issue as well and getting an error when installing:

C:\Users\Rafael> C:\Users\Rafael\Desktop\terminal\SetupContextMenu.ps1
Copy icons => C:\Users\Rafael\AppData\Local\WindowsTerminalContextIcons\
Add top layer menu (shell) => Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\WindowsTerminal
Add top layer menu (background) => Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\WindowsTerminal
ConvertFrom-Json : Invalid JSON primitive: .
At C:\Users\Rafael\Desktop\terminal\SetupContextMenu.ps1:91 char:10
+ $json = (ConvertFrom-Json -InputObject $rawContent);
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

Working with the old profiles style
Skip entry  => Registry::HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\ContextMenus\WindowsTerminal\shell\01

@RafaelDeJongh
Copy link

I am going to quote myself but the problem does not appear when you install PowerShell 7, with it everything works as intended!

@shivamsinha99
Copy link

shivamsinha99 commented Jul 27, 2020

image

Currently using Windows terminal stable with custom profiles in settings.json

same issue, please help, tried with PowerShell 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants