Skip to content

Commit

Permalink
Fix proto stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Jan 4, 2024
1 parent b62fe5a commit 73f0e90
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FW_VERSION := 2.15.1.1189
FW_DATA := wVbHkgKisg-

PROTO_SOURCE := $(shell find protobuf -type f -name '*.proto')
PROTO_OBJ := $(addprefix $(PACKAGE)/proto/,$(PROTO_SOURCE:%.proto=%_pb2.py))
PROTO_OBJ := $(addprefix $(PACKAGE),$(PROTO_SOURCE:%.proto=%_pb2.py))

OBJ := $(shell find ${PACKAGE} -type f)
OBJ += requirements.txt
Expand Down Expand Up @@ -125,7 +125,7 @@ dist/rmufuse: dist .venv/bin/activate $(OBJ)

$(PROTO_OBJ): $(PROTO_SOURCE)
protoc \
--python_out=$(PACKAGE)/proto/ \
--python_out=$(PACKAGE) \
--proto_path=protobuf \
$(PROTO_SOURCE)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "remarkable_update_fuse"
version = "1.0.1"
version = "1.0.2"
authors = [
{ name="Eeems", email="[email protected]" },
]
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion remarkable_update_fuse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from . import proto
from .fuse import ImageException
from .fuse import UpdateFS
from .image import UpdateImage
Expand Down
6 changes: 3 additions & 3 deletions remarkable_update_fuse/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from cryptography.hazmat.primitives.serialization import load_pem_public_key
from cryptography.hazmat.primitives.asymmetric.padding import PKCS1v15
from cryptography.hazmat.primitives.hashes import SHA256
from .proto.update_metadata_pb2 import DeltaArchiveManifest
from .proto.update_metadata_pb2 import InstallOperation
from .proto.update_metadata_pb2 import Signatures
from .update_metadata_pb2 import DeltaArchiveManifest
from .update_metadata_pb2 import InstallOperation
from .update_metadata_pb2 import Signatures


def sizeof_fmt(num, suffix="B"):
Expand Down
Empty file.

0 comments on commit 73f0e90

Please sign in to comment.