tobychui / arozos

Web Desktop Operating System for low power platforms, Now written in Go!
https://os.aroz.org
GNU General Public License v3.0
2.01k stars 145 forks source link

The zip file cannot be installed/zip文件无法安装 #160

Open gududushuodehenhao opened 6 months ago

gududushuodehenhao commented 6 months ago

微信图片_20240530140715 I can't install the zip file after uploading it, how do I construct a zip file to install it?/上传zip文件后无法安装,该如何构造zip文件才能安装。

tobychui commented 6 months ago

As this installer is really old and need a rewrite soon (already in high priotity in the todo list), I guess if you are working on a module for ArozOS, you can do it like this.

  1. Mount the ./web/ folder into ArozOS to one of the permission group (e.g. Admin) 圖片 圖片

  2. Upload your module into the web folder via File Manager 圖片

  3. Click "Reload WebApp" in System Setting menu 圖片 圖片

  4. Refresh your desktop, your Webapp should be found in the start menu afterward.

gududushuodehenhao commented 6 months ago

微信图片_20240530140715 Why can't I see the uploaded app after refreshing the desktop, have you successfully achieved it?

tobychui commented 6 months ago

@gududushuodehenhao 看來你看不懂英文,那我用中文好了。 在把你的 WebApp 整個資料夾上傳到 web 資料夾裡面之後(請確保裡面的結構符合 ArozOS WebApp 格式,例如有 init.agi 及其指向的 StartDir html 檔案),並在 System Setting > 已安裝模組 內點選 「重新載入 WebApp」 的按鈕,然後你的 WebApp 才會出現在開始功能表。之後你要用桌面捷徑工具(對桌面空白處右鍵 > 新增 > 捷徑)把 WebApp 開啟捷徑釘選在桌面。

gududushuodehenhao commented 6 months ago

非常感谢