Skip to content

Only supports Mac users. #1

Closed
@minusInfinite

Description

@minusInfinite

This following line will only find history on a Mac

codewrap-cli/src/utils.ts

Lines 184 to 193 in 44fe36c

function generateEditorPath(appName: string) {
return join(
homedir(),
"Library",
"Application Support",
appName,
"User",
"History"
);
}

eg - MacOS:$HOME/Library/Application Support/Code/User/History

If someone was to run this on Windows or Linux it might be successful but the URL generated has no data.

OS check required or advise that this is only something a Mac user can use.

Windows:C:\Users\AppData\Roaming\Code\User\History
Linux:$HOME/.config/Code/User/History

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions