Skip to content

Commit bd32fc8

Browse files
committed
Try to fix github actions build and not use expect anymore
1 parent ca24304 commit bd32fc8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
#!/usr/bin/env expect
2-
set pass [lindex $argv 0]
3-
spawn x11vnc -storepasswd;
4-
expect "*?assword:*"
5-
send -- "$pass\r";
6-
expect "*?assword:*"
7-
send -- "$pass\r";
8-
expect "*?assword*"
9-
send -- "y\n\r";
10-
interact
1+
#!/usr/bin/env bash
2+
x11vnc -storepasswd "${1}" ~/.vnc/passwd

0 commit comments

Comments
 (0)