Skip to content

Shortcuts (.LNK) Handled as Directories #3236

Open
@naqaden

Description

@naqaden

System Information

MultiMC version: 0.6.11-1430

Operating System: Windows 8.1 64bit

Summary of the issue or suggestion:

Copy Instance will fail if an instance contains a shortcut.

What should happen:

MultiMC should copy the instance anyway.

Steps to reproduce the issue (Add more if needed):

  1. Put a shortcut to the config folder in the mods folder.

  2. Copy Instance

Suspected cause:

MultiMC handles shortcuts as if they are the directories they link to.

Logs:

11.791 D recursing ".minecraft/mods"
11.798 D recursing ".minecraft/mods/config.lnk"
11.801 W Failed to copy ".minecraft/mods/config.lnk/fabric"
11.802 W Failed to copy ".minecraft/mods/config.lnk"
11.802 W Failed to copy ".minecraft/mods"
11.803 W Failed to copy ".minecraft"
11.804 C Task "InstanceCopyTask(0x47722e0)" failed:  "Instance folder copy failed."
11.814 C Task "InstanceStaging(0x4770b10)" failed:  "Instance folder copy failed."

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsystem: WindowsWindows specific issues (antivirus, locked files, etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions