以 root 權限安裝的程序,
其快捷入口大多創建在 /usr/share/applications
目錄下,
也可以創建在~/.local/share/applications
目錄,
以用戶權限安裝的程序
則只能將快捷入口創建在~/.local/share/applications
目錄下。
總GitHub地址: https://github.com/fantj2016/java-reader
其快捷入口大多創建在 /usr/share/applications
目錄下,
也可以創建在~/.local/share/applications
目錄,
則只能將快捷入口創建在~/.local/share/applications
目錄下。
總GitHub地址: https://github.com/fantj2016/java-reader
shell腳本獲取腳本所在目錄 執行腳本的父目錄不一定是當前的工作目錄。 url=$(dirname $(readlink -f $0))