Cyberduck Mountain Duck CLI

Changeset 41267


Ignore:
Timestamp:
Jun 7, 2017 9:00:18 PM (13 months ago)
Author:
dkocher
Message:

Override disk icon on macOS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shelves/02.06.2017/nio/src/main/java/ch/cyberduck/core/nio/LocalProtocol.java

    r41265 r41267  
    1717
    1818import ch.cyberduck.core.AbstractProtocol;
     19import ch.cyberduck.core.Factory;
    1920import ch.cyberduck.core.LocaleFactory;
    2021import ch.cyberduck.core.Scheme;
     
    100101        return LOCAL_HOSTNAME;
    101102    }
     103
     104    @Override
     105    public String disk() {
     106        switch(Factory.Platform.getDefault()) {
     107            case mac:
     108                return "NSComputer";
     109        }
     110        return super.disk();
     111    }
    102112}
Note: See TracChangeset for help on using the changeset viewer.
swiss made software