Adding the Quick Tour
* Add a link to the Quick Tour to the desktop. * Remove the Welcome page from desktop. We don't want to clutter the user's desktop more than necessary. As "Home" page of WebPositive, it's still very visible. * Mention the Quick Tour in the Welcome package description. * Add a "quicktour" script similar to the welcome/userguide that opens the online version if it's not installed locally. * Add icons to the userguide and quicktour scripts. Fixes #14706. * Add bookmark and launcher for the Quick Tour. Adjust the AddFileDataAttributeRule to create its temporary file in the "common" architecture, the file is not architecture specific. Add a rule PrepareScriptWithIcon in src/data/bin/Jamfile to assign an icon and make the script executable. Change-Id: Ia7604ff4715a5aaf9a645c1b3333a954d6a4dafc Reviewed-on: https://review.haiku-os.org/c/haiku/+/1924 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
userGuideURL="\
|
||||
https://www.haiku-os.org/docs/userguide/en/contents.html"
|
||||
userGuideDir=/boot/system/documentation/userguide/
|
||||
userGuide=$userGuideDir/en/contents.html
|
||||
localizedUserGuide=$userGuideDir/"$LANG"/contents.html
|
||||
|
||||
if [ -f $localizedUserGuide ]; then
|
||||
open file://$localizedUserGuide
|
||||
elif [ -f $userGuide ]; then
|
||||
open $userGuide
|
||||
else
|
||||
open $userGuideURL
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user