Come scaricare su "GitHub Desktop"

0

Ho scaricato e installato GitHub Desktop sul mio Mac e mostra un paio dei miei progetti.

Purtroppo non riesco a utilizzarlo per scaricare nulla.

Il tentativo più recente sono andato a link C'è un pulsante Clone or download , e premendo questo si apre un popup con 2 pulsanti Open in Desktop e Download ZIP .

Facendo clic su Open in Desktop mi porta sempre a un link e provo a scaricare una nuova copia di GitHub Desktop , nonostante io abbia già l'ultimo.

Dopo aver provato ogni opzione, di solito mi arrendo e solo Download ZIP .

Qualcuno può spiegare se è possibile utilizzare GitHub Desktop per il download e come farlo.

/System/Library/Frameworks/CoreServices.framework/Versions/A‌/Frameworks/LaunchSe‌rvices.framework/Ver‌sions/A/Support/lsre‌gister -dump | grep -B45 "github-mac:" mostra: -

                {
            CFBundleURLName = "SourceTree URL";
            CFBundleURLSchemes =             (
                sourcetree,
                "github-mac"
            );
        }
    );
    CFBundleVersion = "1.8.0.2";
    NSHumanReadableCopyright = "Copyright 2010-2013 Atlassian. All Rights Reserved.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = NSApplication;
    NSServices =     (
                {
            NSMenuItem =             {
                default = "Open in SourceTree";
            };
            NSMessage = openInSourceTree;
            NSRequiredContext =             {
                NSTextContent = FilePath;
            };
            NSSendTypes =             (
                NSFilenamesPboardType
            );
        }
    );
}
    library:       Contents/Library/
    schemesList:   github-mac, sourcetree
    activityTypes: pv-ce07118f141dd8, NOTIFICATION#:com.torusknot.SourceTreeNotMAS
    --------------------------------------------------------
    claim   id:            5412
        name:          Folders
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            5416
        name:          SourceTree URL
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      sourcetree:, github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Deer Types";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 222;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2016 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            50176
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            50180
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
            LSTypeIsPackage = 0;
        }
    );
    CFBundleExecutable = GitHub;
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = GitHub;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Troll The Respawn Jeremy";
    CFBundleSignature = "????";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 204;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    library items: LoginItems/GitHub Conduit.app/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            50184
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            50188
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Beset by Computers";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 220;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            28000
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            28004
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
            LSTypeIsPackage = 0;
        }
    );
    CFBundleExecutable = GitHub;
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = GitHub;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Troll The Respawn Jeremy";
    CFBundleSignature = "????";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 204;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    library items: LoginItems/GitHub Conduit.app/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            28008
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            28012
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Beset by Computers";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 220;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            10516
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            10520
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
            LSTypeIsPackage = 0;
        }
    );
    CFBundleExecutable = GitHub;
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = GitHub;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Troll The Respawn Jeremy";
    CFBundleSignature = "????";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 204;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    library items: LoginItems/GitHub Conduit.app/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            10524
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            10528
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
                {
            CFBundleURLName = "SourceTree URL";
            CFBundleURLSchemes =             (
                sourcetree,
                "github-mac"
            );
        }
    );
    CFBundleVersion = "1.8.0.2";
    NSHumanReadableCopyright = "Copyright 2010-2013 Atlassian. All Rights Reserved.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = NSApplication;
    NSServices =     (
                {
            NSMenuItem =             {
                default = "Open in SourceTree";
            };
            NSMessage = openInSourceTree;
            NSRequiredContext =             {
                NSTextContent = FilePath;
            };
            NSSendTypes =             (
                NSFilenamesPboardType
            );
        }
    );
}
    library:       Contents/Library/
    schemesList:   github-mac, sourcetree
    activityTypes: pv-ce07118f141dd8, NOTIFICATION#:com.torusknot.SourceTreeNotMAS
    --------------------------------------------------------
    claim   id:            10684
        name:          Folders
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            10688
        name:          SourceTree URL
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      sourcetree:, github-mac:
--
                {
            CFBundleURLName = "SourceTree URL";
            CFBundleURLSchemes =             (
                sourcetree,
                "github-mac"
            );
        }
    );
    CFBundleVersion = "1.8.0.2";
    NSHumanReadableCopyright = "Copyright 2010-2013 Atlassian. All Rights Reserved.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = NSApplication;
    NSServices =     (
                {
            NSMenuItem =             {
                default = "Open in SourceTree";
            };
            NSMessage = openInSourceTree;
            NSRequiredContext =             {
                NSTextContent = FilePath;
            };
            NSSendTypes =             (
                NSFilenamesPboardType
            );
        }
    );
}
    library:       Contents/Library/
    schemesList:   github-mac, sourcetree
    activityTypes: pv-ce07118f141dd8, NOTIFICATION#:com.torusknot.SourceTreeNotMAS
    --------------------------------------------------------
    claim   id:            29156
        name:          Folders
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            29160
        name:          SourceTree URL
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      sourcetree:, github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Beset by Computers";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 220;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            11932
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            11936
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
            LSTypeIsPackage = 0;
        }
    );
    CFBundleExecutable = GitHub;
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = GitHub;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Troll The Respawn Jeremy";
    CFBundleSignature = "????";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 204;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    library items: LoginItems/GitHub Conduit.app/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            11940
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            11944
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Deer Types";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 222;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2016 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            33368
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            33372
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
    );
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Beset by Computers";
    CFBundleSignature = "????";
    CFBundleSupportedPlatforms =     (
        MacOSX
    );
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 220;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            34016
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            34020
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
            LSTypeIsPackage = 0;
        }
    );
    CFBundleExecutable = GitHub;
    CFBundleIconFile = "AppIcon-Release";
    CFBundleIdentifier = "com.github.GitHub";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = GitHub;
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "Troll The Respawn Jeremy";
    CFBundleSignature = "????";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHub";
            CFBundleURLSchemes =             (
                "github-mac"
            );
        }
    );
    CFBundleVersion = 204;
    NSAppleScriptEnabled = YES;
    NSHumanReadableCopyright = "Copyright \U00a9 2015 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = GHApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}
    library:       Contents/Library/
    library items: LoginItems/GitHub Conduit.app/
    schemesList:   github-mac
    activityTypes: NOTIFICATION#VEKTX9H2N7:com.github.GitHub, pv-fb2923e44f3b4b
    --------------------------------------------------------
    claim   id:            34024
        name:          Directory
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            34028
        name:          com.github.GitHub
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      github-mac:
--
                {
            CFBundleURLName = "SourceTree URL";
            CFBundleURLSchemes =             (
                sourcetree,
                "github-mac"
            );
        }
    );
    CFBundleVersion = "1.8.0.2";
    NSHumanReadableCopyright = "Copyright 2010-2013 Atlassian. All Rights Reserved.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = NSApplication;
    NSServices =     (
                {
            NSMenuItem =             {
                default = "Open in SourceTree";
            };
            NSMessage = openInSourceTree;
            NSRequiredContext =             {
                NSTextContent = FilePath;
            };
            NSSendTypes =             (
                NSFilenamesPboardType
            );
        }
    );
}
    library:       Contents/Library/
    schemesList:   github-mac, sourcetree
    activityTypes: pv-ce07118f141dd8, NOTIFICATION#:com.torusknot.SourceTreeNotMAS
    --------------------------------------------------------
    claim   id:            35152
        name:          Folders
        rank:          Default
        roles:         Viewer  
        flags:         doc-type  
        icon:          
        bindings:      'fold'
    --------------------------------------------------------
    claim   id:            35156
        name:          SourceTree URL
        rank:          Default
        roles:         Viewer  
        flags:         url-type  
        icon:          
        bindings:      sourcetree:, github-mac:
    
posta Milliways 05.05.2017 - 04:07
fonte

1 risposta

1

In questo caso sembrerebbe che il tuo browser non stia riconoscendo l'URL per aprire la copia installata di GitHub Desktop. Ho appena scaricato il tuo repository su GitHub Desktop senza problemi.

Per prima cosa eseguirò GitHub Desktop e assicurarmi che sia configurato correttamente e che tu abbia installato gli strumenti della riga di comando. Se ciò non risolve il problema, proverei a eliminare l'app e a reinstallarla.

L'ultima possibilità sarebbe quella di ricostruire il database di LaunchServices usando questo comando:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

    
risposta data 05.05.2017 - 12:53
fonte

Leggi altre domande sui tag