islujw
V2EX  ›  Xcode

关于 macOS 系统偏好设置项目的开发

  •  
  •   islujw · Aug 20, 2018 · 4990 views
    This topic created in 2846 days ago, the information mentioned may be changed or developed.

    安装了一些软件,它们会在系统偏好设置中设置一个自己的设置项。如 MySQL,可从偏好设置中点击启动 / 关闭 MySQL,还可以设定是否开机自动开启等,觉得挺方便的。

    现在想要自己做个额外的偏好设置项,放上 apache 的开启关闭、本地网站的配置等等,该如何操作呢?似乎没能搜索到相关信息,先谢谢啦!

    14 replies    2018-08-29 15:08:02 +08:00
    eggshell
        1
    eggshell  
       Aug 20, 2018 via Android
    F1024
        2
    F1024  
       Aug 20, 2018
    桌面状态栏做不是更好吗 偏好还要点进去
    islujw
        3
    islujw  
    OP
       Aug 20, 2018
    @F1024 嗯也可以。
    islujw
        4
    islujw  
    OP
       Aug 20, 2018
    @F1024 但配置本地网站还是需要界面的。
    sampeng
        5
    sampeng  
       Aug 20, 2018
    状态栏不省事么。。就是多了状态栏会爆炸。。。
    luopengfei14
        6
    luopengfei14  
       Aug 20, 2018
    没事闲的蛋疼,命令行 mysql.server start/stop/restart 就解决了
    popbones
        7
    popbones  
       Aug 20, 2018
    `man launchctl`
    WildCat
        8
    WildCat  
       Aug 20, 2018
    brew services list
    287854442
        9
    287854442  
       Aug 20, 2018
    reyno
        10
    reyno  
       Aug 20, 2018 via iPhone
    Alfred 的 workflow 了解一下
    islujw
        12
    islujw  
    OP
       Aug 22, 2018
    这里不只是说 apache 的开启和关闭。不知道各位用过 Apple 自己设计的 Server.app 没有,可以方便地创建站点,配置各种参数,人性化的使用者界面,用起来比修改 apache 配置要直观清晰很多。
    rainex
        13
    rainex  
       Aug 28, 2018 via iPad
    作为用户,对增加偏高设置的软件比较反感
    islujw
        14
    islujw  
    OP
       Aug 29, 2018
    @rainex 是,不过得看它们设计质量如何
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1626 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 16:22 · PVG 00:22 · LAX 09:22 · JFK 12:22
    ♥ Do have faith in what you're doing.