vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.27k stars 3.52k forks source link

Icon changed to generic mac app icon after update #3624

Open lmvalenzuela opened 5 years ago

lmvalenzuela commented 5 years ago

Issue

Not a big deal, but yesterday, after hyper update, the icon for the app was changed to a generic app icon. Everything else is working fine as usual. Regards

jmcmaster commented 5 years ago

Similar issue here. The generic mac app icon is used for Hyper app on my external display (in the dock, applications folder, etc). However, the correct Hyper icon is used on my Macbook display.

bernardodsanderson commented 5 years ago

I'm seeing this same issue:

niryariv commented 5 years ago

Same here

mattkoch614 commented 5 years ago

Same!

roryashfordbentley commented 5 years ago

Same issue here since updating to 3.0.2

benleivian commented 5 years ago

Just updated and experiencing the same icon issue.

As a work-around, you can get the 2.1.2 release and copy/paste the icon via the Get Info dialog.

ayozebarrera commented 5 years ago

Same here when updating Hyper or downloading a new one.

MacOS 10.12.6

mehmetnyarar commented 5 years ago

@benleivian copy/paste to where?

I did:

Still same blank icon…

I also didn’t get how to copy/paste icon via GetInfo dialog.

benleivian commented 5 years ago

@mehmetnyarar I'm pretty sure this originated from OS9.

  1. Right click & Get Info. image
  2. Click the icon and a blue outline will appear. Copy! image
  3. Repeat (Get Info / blue outline) with the icon you want to replace. Paste!
antwake commented 5 years ago

Same here Hyper 3.0.2 MacOs 10.12.6 (16G1917)

mehmetnyarar commented 5 years ago

@benleivian i didn’t know that trick. thanks, it worked.

bosporos commented 5 years ago

Ran into this with 3.0.2 on 10.12.6, fixed it with the following:

Open a shell session in the Resources directory of Hyper.app (Hyper.app/Contents/Resources), and run the following:

sips -s format png Hyper.icns --out Hyper.png
mkdir Hyper.iconset
sips -z 1024 1024 Hyper.png --out Hyper.iconset/icon_512x512@2x.png
sips -z 512 512 Hyper.png --out Hyper.iconset/icon_512x512.png
sips -z 512 512 Hyper.png --out Hyper.iconset/icon_256x256@2x.png
sips -z 256 256 Hyper.png --out Hyper.iconset/icon_256x256.png
sips -z 256 256 Hyper.png --out Hyper.iconset/icon_128x128@2x.png
sips -z 128 128 Hyper.png --out Hyper.iconset/icon_128x128.png
sips -z 128 128 Hyper.png --out Hyper.iconset/icon_64x64@2x.png
sips -z 64 64 Hyper.png --out Hyper.iconset/icon_64x64.png
sips -z 64 64 Hyper.png --out Hyper.iconset/icon_32x32@2x.png
sips -z 32 32 Hyper.png --out Hyper.iconset/icon_32x32.png
sips -z 32 32 Hyper.png --out Hyper.iconset/icon_16x16@2x.png
sips -z 16 16 Hyper.png --out Hyper.iconset/icon_16x16.png
iconutil -c icns -o Hyper_AllSizes.icns Hyper.iconset

Click "Show Package Contents," and go to the Resources directory, and open a "Get Info" dialog on Hyper.app. Drag the file Hyper_AllSizes.icns onto the blank application icon in the upper left corner of the "Get Info" dialog.

EDIT This might mess with Apple's code signing; it'll still be runnable (perhaps with a bit of finagling), though.

alephart commented 4 years ago

Same problem, but the fix is more easy:

  1. In /Applications/Hyper.app right click & Get Info.

  2. Again in /Applications/Hyper.app right click & Show Package Contents.

  3. Go to Hyper.app/Contents/Resources.

  4. Drag & Drop the file Hyper.icns into the Hyper Info Window in icon:

  5. Close Hyper Info Window.

Ready!

SiddharthShyniben commented 3 years ago

Same problem, but the fix is more easy:

  1. In /Applications/Hyper.app right click & Get Info.
  1. Again in /Applications/Hyper.app right click & Show Package Contents.
  2. Go to Hyper.app/Contents/Resources.
  3. Drag & Drop the file Hyper.icns into the Hyper Info Window in icon:
  1. Close Hyper Info Window. Ready!

Well, I did but nothing changed. Only an Icon? file was created at Hyper.app/ .