mirror of
https://github.com/Evidlo/remarkable_printer.git
synced 2024-10-19 19:17:37 -04:00
add download_prebuilt target
This commit is contained in:
parent
1c26f7be06
commit
f41beb4cea
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
*.x86
|
||||
*.arm
|
||||
*.arm
|
||||
*.zip
|
14
Makefile
14
Makefile
|
@ -1,4 +1,6 @@
|
|||
.ONESHELL:
|
||||
.SILENT:
|
||||
|
||||
host=10.11.99.1
|
||||
|
||||
printer.arm:
|
||||
|
@ -9,6 +11,12 @@ printer.x86:
|
|||
go get ./...
|
||||
go build -o printer.x86
|
||||
|
||||
# get latest prebuilt releases
|
||||
.PHONY: download_prebuilt
|
||||
download_prebuilt:
|
||||
wget http://github.com/evidlo/remarkable_printer/releases/latest/download/release.zip
|
||||
|
||||
# install to device
|
||||
.PHONY: install
|
||||
install: printer.arm
|
||||
ssh-add
|
||||
|
@ -23,8 +31,8 @@ install: printer.arm
|
|||
|
||||
.PHONY: release
|
||||
release: printer.arm printer.x86
|
||||
rm -f printer.zip
|
||||
zip printer.zip ./ -r
|
||||
rm -f release.zip
|
||||
zip release.zip ./ -r
|
||||
|
||||
.PHONY: install_config
|
||||
install_config:
|
||||
|
@ -35,4 +43,4 @@ install_config:
|
|||
-m lsb/usr/cupsfilters/Generic-PDF_Printer-PDF.ppd
|
||||
|
||||
clean:
|
||||
rm -f printer.x86 printer.arm printer.zip
|
||||
rm -f printer.x86 printer.arm release.zip
|
||||
|
|
|
@ -6,13 +6,14 @@ Print natively to your reMarkable wirelessly with no extensions or reMarkable cl
|
|||
|
||||
## Install
|
||||
|
||||
Assuming you have Go installed, simply run (with reMarkable connected via USB)
|
||||
With the reMarkable connected via USB, execute
|
||||
|
||||
make download_prebuilt
|
||||
make install
|
||||
|
||||
This will install and start the printer service on the reMarkable.
|
||||
|
||||
If you don't have go, you can download and unzip the precompiled release from the releases page to this directory then run the above command.
|
||||
Alternatively, you can build the executable yourself by omitting the `make download_prebuilt` step.
|
||||
|
||||
## Adding the reMarkable as a printer
|
||||
|
||||
|
|
Loading…
Reference in a new issue