Skip to content
Snippets Groups Projects
Select Git revision
  • c4ecfcb65b490df6208e7daf4d517a8f53548b75
  • master default protected
  • Vivakvo/cesium-patch-8
  • issue_4
  • issue_780
  • gitlab_migration_1
  • dev
  • rml8
  • v1.4.3
  • v1.4.1
  • v1.4.0
  • v1.3.11
  • v1.3.10
  • v1.3.9
  • v1.3.8
  • v1.3.7
  • v1.3.6
  • v1.3.5
  • v1.3.4
  • v1.3.3
  • v1.3.2
  • v1.3.1
  • v1.3.0
  • v1.2.10
  • v1.2.9
  • v1.2.8
  • v1.2.7
  • v1.2.6
28 results

config.js

Blame
  • Forked from clients / Cesium-grp / Cesium
    Source project has a limited visibility.
    install_gcli.scpt 781 B
    -- Ask user if they want to install gcli
    set userResponse to display dialog "Do you want to install gcli to /usr/local/bin?" buttons {"No", "Yes"} default button "Yes"
    
    if button returned of userResponse is "Yes" then
        -- Run shell script to move gcli with administrator privileges
        try
            do shell script "mv gcli.app/Contents/MacOS/gcli /usr/local/bin" with administrator privileges
            display dialog "gcli has been installed to /usr/local/bin and is now available in your PATH."
        on error errMsg number errorNumber
            if errorNumber is -128 then
                display dialog "Installation cancelled."
            else
                display dialog "An error occurred: " & errMsg
            end if
        end try
    else
        display dialog "Installation cancelled."
    end if