File tree Expand file tree Collapse file tree
build/office-suite/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ mkdir -p "$HOME"
1414
1515DESKTOP_FILE=" $XDG_DATA_HOME /applications/sourceos-office.desktop"
1616BIN_FILE=" $HOME /.local/bin/sourceos-office-open"
17+ CLOUD_FILE=" $HOME /.local/bin/office_cloud_handoff.sh"
18+ SEARCH_FILE=" $HOME /.local/bin/office_search_handoff.sh"
19+ SEARCH_OPEN_FILE=" $HOME /.local/bin/office_search_open.sh"
1720MIME_FILE=" $XDG_CONFIG_HOME /mimeapps.list"
1821
1922[[ -f " $DESKTOP_FILE " ]] || {
@@ -26,6 +29,21 @@ MIME_FILE="$XDG_CONFIG_HOME/mimeapps.list"
2629 exit 1
2730}
2831
32+ [[ -x " $CLOUD_FILE " ]] || {
33+ echo " desktop entry install smoke failed: missing cloud handoff helper" >&2
34+ exit 1
35+ }
36+
37+ [[ -x " $SEARCH_FILE " ]] || {
38+ echo " desktop entry install smoke failed: missing search handoff helper" >&2
39+ exit 1
40+ }
41+
42+ [[ -x " $SEARCH_OPEN_FILE " ]] || {
43+ echo " desktop entry install smoke failed: missing search open helper" >&2
44+ exit 1
45+ }
46+
2947[[ -f " $MIME_FILE " ]] || {
3048 echo " desktop entry install smoke failed: missing MIME defaults" >&2
3149 exit 1
You can’t perform that action at this time.
0 commit comments