error message modified

This commit is contained in:
victor 2021-01-02 23:28:44 +03:30
父節點 ff6b2545ad
當前提交 1eeb40e3bb
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@ -22,7 +22,7 @@ function main() {
#create new wine prefix for photoshop
rmdir_if_exist $WINE_PREFIX
#export necessary variable for wine 3.4
#export necessary variable for wine
export_var
#config wine prefix and install mono and gecko automatic

查看文件

@ -89,7 +89,7 @@ function launcher() {
local entry_icon="../images/AdobePhotoshop-icon.png"
local launch_icon="$launcher_dest/AdobePhotoshop-icon.png"
cp "$entry_icon" "$launcher_dest"
cp "$entry_icon" "$launcher_dest" || error "can't copy icon image"
sed -i "s|photoshopicon|$launch_icon|g" "$desktop_entry_dest" || error "can't edit desktop entry"
sed -i "s|photoshopicon|$launch_icon|g" "$launcher_dest/launcher.sh" || error "can't edit launcher script"