Last change
on this file since 5179 was
5179,
checked in by joamuran, 4 years ago
|
fixed
|
-
Property svn:executable set to
*
|
File size:
956 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # Screen Recording and Mirror |
---|
4 | # XServer XSDL |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | case $LANG in |
---|
9 | "es"*) |
---|
10 | DATA=`zenity --forms --title="Activar mirroring de Android" \ |
---|
11 | --text="Introduzca la dirección proporcionada\n por la aplicación Screen Cast." \ |
---|
12 | --separator="*" \ |
---|
13 | --add-entry="http://dirección:8888"`; |
---|
14 | ;; |
---|
15 | |
---|
16 | "ca"*) |
---|
17 | DATA=`zenity --forms --title="Activeu el mirroring d'Android" \ |
---|
18 | --text="Introduïu l'adreça proporcionada \n per l'aplicació Screen Cast." \ |
---|
19 | --separator="*" \ |
---|
20 | --add-entry="http://adreça:8888"`; |
---|
21 | ;; |
---|
22 | |
---|
23 | *) |
---|
24 | DATA=`zenity --forms --title="Activate Android Mirroring" \ |
---|
25 | --text="Insert address given by Screen Cast App" \ |
---|
26 | --separator="*" \ |
---|
27 | --add-entry="http://address:8888"`; |
---|
28 | ;; |
---|
29 | |
---|
30 | esac |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | case $? in |
---|
35 | 0) |
---|
36 | nwjs21 --url="${DATA}:8888"; |
---|
37 | |
---|
38 | ;; |
---|
39 | -1) |
---|
40 | echo "An unexpected error has occurred." |
---|
41 | ;; |
---|
42 | esac |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.