Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-11448

Launcher thinks it's running on a dmg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 2.1.5558-2.1.5560
    • None
    • None
    • OS macOS 10.14.5
      jdk 8
    • Unconfirmed

      I've created an automated install script for minecraft (It doesn't pirate the game, it just downloads the dmg, mounts the dmg and copies the app to /Applications) and when the launcher starts it thinks its running off the dmg file and won't open.

      The Script:
      !#/bin/zsh
      cd Downloads
      echo This script will install Minecraft on your computer, you need administrative privileges to do this
      echo "Do you wish to install Minecraft?"
      select yn in "Yes" "No"; do
      case $yn in
      Yes ) curl -O https://launcher.mojang.com/download/Minecraft.dmg
      hdiutil attach Minecraft.dmg -quiet
      sudo cp -r /Volumes/Minecraft/Minecraft.app /Applications
      hdiutil detach /Volumes/Minecraft

      break;;
      No ) exit;;
      esac
      done

            Unassigned Unassigned
            crazycrafter501 Rachael
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: