PWAをコマンドラインからインストールするには?

ショコラ
ショコラ

PWAをコマンドラインからインストールするには?

現状見つかっていません。
なので、インストール後のファイルのコピーで対応します。

もっさん先輩
もっさん先輩

Photopea をクロームからインストールしました。
デスクトップにできたアイコンの app-id を手がかりにホームを検索します。

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Photopea
Exec=/opt/google/chrome/google-chrome --profile-directory=Default --app-id=jdklklfpinionkgpmghaghehojplfjio "--app=https://photopea.com"
Icon=chrome-jdklklfpinionkgpmghaghehojplfjio-Default
StartupWMClass=crx_jdklklfpinionkgpmghaghehojplfjio
Categories=Graphics
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Microsoft 365
Exec=/opt/google/chrome/google-chrome --profile-directory=Default --app-id=ocdlmjhbenodhlknglojajgokahchlkk "--app=https://www.office.com/?from=Homescreen"
Icon=chrome-ocdlmjhbenodhlknglojajgokahchlkk-Default
StartupWMClass=crx__ocdlmjhbenodhlknglojajgokahchlkk
Categories=Office
mossan@PowerEdge-T110-II:~$ pwd
/home/mossan
mossan@PowerEdge-T110-II:~$ find|grep jdklklfpinionkgpmghaghehojplfjio
mossan@PowerEdge-T110-II:~$ pwd
/home/mossan
mossan@PowerEdge-T110-II:~$ find|grep jdklklfpinionkgpmghaghehojplfjio
./.local/share/applications/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.desktop
./.local/share/icons/hicolor/128x128/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.png
./.local/share/icons/hicolor/512x512/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.png
./.local/share/icons/hicolor/32x32/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.png
./.local/share/icons/hicolor/48x48/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.png
./.local/share/icons/hicolor/256x256/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.png
./.local/share/mime/packages/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.xml
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons Maskable
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons Maskable/512.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons Monochrome
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/64.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/32.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/96.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/48.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/128.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/512.png
./.config/google-chrome/Default/Web Applications/Manifest Resources/jdklklfpinionkgpmghaghehojplfjio/Icons/256.png
./.gnome/apps/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.desktop
./Desktop/chrome-jdklklfpinionkgpmghaghehojplfjio-Default.desktop

以上

Scroll to Top