Loading

如何将chrome网页包装成app启动

需求

使用docker运行了一套noVNC的图形界面,可以用chrome访问,希望去掉地址栏和标签简化为类似electron形式。

实现

linux运行

google-chrome-stable --new-window --app=http://localhost:6901/vnc.html

windows运行

chrome --new-window --app=http://localhost:6901/vnc.html

参考

Google Chrome with minimal layout without address bar, and without tabs - Super User

posted @ 2022-12-14 10:56  azureology  阅读(333)  评论(0)    收藏  举报