-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38737c3
commit a071d63
Showing
10 changed files
with
83 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
proto="$PROTO_V3" | ||
|
||
. scripts/common/x.3.1_get_files.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
files=( | ||
'文字檔案 1.txt' | ||
'另一個文件_2.txt' | ||
'資料夾_1/文字檔案 3.txt' | ||
'資料夾_1/另一個文件 4.txt' | ||
'資料夾 2/文字檔案 5.txt' | ||
'資料夾 2/子資料夾/文字檔案 6.txt' | ||
'資料夾 2/子資料夾/另一個文件_7.txt' | ||
'資料夾 2/子資料夾 2/文字檔案 8.txt' | ||
'資料夾 2/資料夾 1/' | ||
'資料夾_3/' | ||
) | ||
|
||
proto="$PROTO_V3" | ||
|
||
. scripts/common/x.3.x_get_files.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
files=( | ||
'file 1.txt' | ||
'file_2.txt' | ||
'empty/' | ||
'sub/file 3.txt' | ||
'sub 1/empty dir/' | ||
'sub 1/file 4.txt' | ||
'sub 1/subsub/empty/' | ||
'sub 1/subsub/file 5.txt' | ||
'sub_2/subsub/empty/' | ||
) | ||
|
||
proto="$PROTO_V3" | ||
|
||
. scripts/common/x.3.x_get_files.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
proto="$PROTO_V3" | ||
method="$METHOD_GET_SCREENSHOT" | ||
disp_num=30000 # not existing display | ||
disp="$(printf '%016x' $disp_num)" | ||
if [ "$DETECTED_OS" = 'Linux' ]; then | ||
DISPLAY_ACK="$METHOD_OK" | ||
else | ||
DISPLAY_ACK="$METHOD_NO_DATA" | ||
fi | ||
|
||
copy_image "$imgSample" | ||
|
||
. scripts/common/get_screenshot.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters