Come scaricare su `GitHub Desktop`


0

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

Purtroppo non riesco a utilizzarlo per scaricare nulla.

Il tentativo più recente a cui sono andato https://github.com/jhobro/magpi_parallel2 C'è un Clone or download pulsante, e premendo questo si apre un popup con 2 pulsanti Open in Desktop e Download ZIP.

Cliccando sul Open in Desktop mi porta sempre a un link e prova a scaricare una nuova copia di GitHub Desktop, nonostante io abbia già l'ultimo.

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

Qualcuno può spiegare se GitHub Desktop PUO 'essere usato per scaricare 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:" Spettacoli:-

                {
            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:

Di solito funziona così: Clone & amp; Scarica & gt; Apri in Desktop & gt; GitHub Desktop.app si apre e chiede dove salvare la cartella del progetto (nel mio caso ~ / Sviluppo / GitHub /) e quindi il progetto viene scaricato / sincronizzato all'interno di Github Desktop.app. Penso che la github-mac l'associazione non è correttamente collegata a Github Desktop.app
klanomath

Quale browser stai usando?
Mark

Risposte:


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 eseguo GitHub Desktop e mi assicuro 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

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.