mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update 32bit to use latest pwngrid/bettercap
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -374,21 +374,36 @@
|
|||||||
when: golang.changed
|
when: golang.changed
|
||||||
|
|
||||||
- name: download pwngrid
|
- name: download pwngrid
|
||||||
unarchive:
|
git:
|
||||||
remote_src: yes
|
repo: "{{ packages.pwngrid.source }}"
|
||||||
src: "{{ packages.opwngrid.url }}"
|
dest: /usr/local/src/pwngrid
|
||||||
dest: /usr/local/bin/
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: download and install bettercap
|
- name: install pwngrid
|
||||||
unarchive:
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
src: "{{ packages.bettercap.url }}"
|
args:
|
||||||
dest: /usr/local/bin
|
executable: /bin/bash
|
||||||
remote_src: yes
|
chdir: /usr/local/src/pwngrid
|
||||||
exclude:
|
|
||||||
- README.md
|
- name: remove pwngrid folder
|
||||||
- LICENSE.md
|
file:
|
||||||
mode: 0755
|
state: absent
|
||||||
|
path: /usr/local/src/pwngrid
|
||||||
|
|
||||||
|
- name: download bettercap
|
||||||
|
git:
|
||||||
|
repo: "{{ packages.bettercap.source }}"
|
||||||
|
dest: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
- name: install bettercap 2.32.4
|
||||||
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
- name: remove bettercap folder
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /usr/local/src/bettercap
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
|
@ -10,8 +10,8 @@ class Waveshare3in7(DisplayImpl):
|
|||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
fonts.setup(10, 8, 10, 18, 25, 9)
|
fonts.setup(10, 8, 10, 18, 25, 9)
|
||||||
self._layout['width'] = 280
|
self._layout['width'] = 480
|
||||||
self._layout['height'] = 480
|
self._layout['height'] = 280
|
||||||
self._layout['face'] = (0, 43)
|
self._layout['face'] = (0, 43)
|
||||||
self._layout['name'] = (0, 14)
|
self._layout['name'] = (0, 14)
|
||||||
self._layout['channel'] = (0, 0)
|
self._layout['channel'] = (0, 0)
|
||||||
|
Reference in New Issue
Block a user