Extras icon indicating copy to clipboard operation
Extras copied to clipboard

AutoHotkey manifest doesn't automatically assign ahk files to application

Open chrislowles opened this issue 3 years ago • 2 comments

Bug Report

Package Name: autohotkey

Current Behavior

Application is installed correctly, application just sits with not file assignment.

Expected Behavior

ahk file type is automatically assigned to AutoHotkey application

Additional context/output

I need to navigate manually to the ~/scoop folder and select the AutoHotkey application that's been installed so relevant options turn up in right-click menus of ahk files.

Possible Solution

Adding commands to a post installation script to assign ahk to program, not sure how.

System details

Windows version: Windows 10 21H2 OS architecture: 64bit PowerShell version: Major: 5 Minor: 1 Build: 19041 Revision: 1682

Scoop Configuration

{
    "lastUpdate":  "2022-05-17T15:33:25.3594869+10:00",
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}

chrislowles avatar May 17 '22 06:05 chrislowles

You'll need to bundle a .reg file with the manifest, see vscode for example

rashil2000 avatar May 17 '22 06:05 rashil2000

I would rather have scoop avoid touching my system's registry.

As rashil2000 says it'd be best (imo) to include a reg file and just comment on it like 7-zip does:

image

confor avatar May 18 '22 10:05 confor