Skip to content

Language and config files become folders if they did not exist before #6

@Befod

Description

@Befod

Forgive me for interrupting you again. :)
Maybe it will work

    "pre_install": [
        "function CreateFile ($name) {",
        "    if (!(Test-Path \"$persist_dir\\$name\")) {",
        "        New-Item -Force -Path \"$persist_dir\" -Name $name -ItemType \"file\"",
        "    }",
        "}",
        "'SearchMyFiles_lng.ini', 'SearchMyFiles.cfg' | % {CreateFile $_}"
    ]

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