Skip to content

Commit

Permalink
Corrected a few errors
Browse files Browse the repository at this point in the history
Corrected an error in the italian command line (double '&&').
Modified path in the 'Reinstall' command line to make it work correctly.

Signed-off-by: cristiano <criguada@gmail.com>
  • Loading branch information
Cris70 committed Apr 27, 2017
1 parent b94b0e2 commit cadca43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions url2webapp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LNAME=`kdialog --title "Launcher" --inputbox "
Define the launcher name (i.e. My App):
"`|| exit 0;
temp_NAME=`kdialog --title "App ID" --inputbox "
Define an app ID (i.e. reverse URL like com.domain.subdomain),
Define an app ID (i.e. reverse URL like com.domain.subdomain),
so icon themes can identify it and ship a custom icon:
" ` || exit 0;
NAME=`echo "$temp_NAME" | tr ' ' '_'`;
Expand Down Expand Up @@ -41,11 +41,11 @@ Actions=in-browser;reinstall;uninstall;
[Desktop Action reinstall]
Name=Reinstall
Exec=kdialog --title Reinstall --warningyesno 'Are you sure?' && nativefier-freedesktop ~/.webapps/$NAME/$NAME.webapp
Exec=kdialog --title Reinstall --warningyesno 'Are you sure?' && nativefier-freedesktop ~/.webapps/installers/$NAME.webapp
Icon=view-refresh
Name[it]=Reinstalla
Exec[it]=kdialog --title Reinstalla --warningyesno 'Sei sicuro?' && && nativefier-freedesktop ~/.webapps/$NAME/$NAME.webapp
Exec[it]=kdialog --title Reinstalla --warningyesno 'Sei sicuro?' && nativefier-freedesktop ~/.webapps/installers/$NAME.webapp
[Desktop Action uninstall]
Expand Down Expand Up @@ -75,7 +75,7 @@ for i in *.css
do
mv -f "$i" "`echo $i | tr ' ' '_'`"
done;

for i in *.js
do
mv -f "$i" "`echo $i | tr ' ' '_'`"
Expand Down

0 comments on commit cadca43

Please sign in to comment.