Neol
V2EX  ›  macOS

brew 安装的 Java 如何隐藏 docker 中的图标?

  •  
  •   Neol · Apr 12, 2022 · 2877 views
    This topic created in 1521 days ago, the information mentioned may be changed or developed.

    如题,使用的程序依赖 brew 安装的 java ,在 docker 里始终有一个 java 的图标。 找了一下隐藏 docker 图标的方法,对于 apple 自己的*.app的应用,似乎可以通过修改包内的 plist 实现。 但 brew 安装的 java 是 Unix 可执行程序,这种方法不适用: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java

    5 replies    2022-04-12 20:20:52 +08:00
    bootvue
        1
    bootvue  
       Apr 12, 2022
    dock docker
    chendy
        2
    chendy  
       Apr 12, 2022
    印象里除非用到图形界面相关的 api ,否则也不会出现 dock 图标吧
    MrZYB
        3
    MrZYB  
       Apr 12, 2022
    -Dapple.awt.UIElement=true
    mritd
        4
    mritd  
       Apr 12, 2022 via iPhone
    卧槽 给我整不会了
    guisheng
        5
    guisheng  
       Apr 12, 2022 via iPhone
    右键移除即可。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5108 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 09:30 · PVG 17:30 · LAX 02:30 · JFK 05:30
    ♥ Do have faith in what you're doing.