Skip to content

Commit 0dd9345

Browse files
authored
Merge pull request #123 from owulveryck/smallFixes
fix the flip stuffs
2 parents a3f5dbf + 6fd0100 commit 0dd9345

File tree

9 files changed

+32
-734
lines changed

9 files changed

+32
-734
lines changed

.github/workflows/goreleaser.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,23 @@ name: goreleaser
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12-
-
13-
name: Checkout
12+
- name: Checkout
1413
uses: actions/checkout@v2
1514
with:
1615
fetch-depth: 0
17-
-
18-
name: Set up Go
16+
- name: Set up Go
1917
uses: actions/setup-go@v2
2018
with:
21-
go-version: 1.22
19+
go-version: 1.23
2220
- name: Install Protoc
2321
uses: arduino/setup-protoc@v1
24-
-
25-
name: Run GoReleaser
22+
- name: Run GoReleaser
2623
uses: goreleaser/goreleaser-action@v2
2724
with:
2825
version: latest

.goreleaser.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,49 @@
1-
# This is an example goreleaser.yaml file with some sane defaults.
2-
# Make sure to check the documentation at http://goreleaser.com
1+
version: 2
2+
33
before:
44
hooks:
5-
# You may remove this if you don't use go modules.
65
- go mod download
7-
# you may remove this if you don't need go generate
6+
87
builds:
98
- env:
109
- CGO_ENABLED=0
11-
id: "Server"
10+
id: "Remarkable Paper Pro"
11+
main: .
12+
binary: goMarkableStream
13+
goos:
14+
- linux
15+
goarch:
16+
- arm64
17+
goarm:
18+
- "7"
19+
- env:
20+
- CGO_ENABLED=0
21+
id: "Remarkable 2"
1222
main: .
1323
binary: goMarkableStream
1424
goos:
1525
- linux
1626
goarch:
1727
- arm
1828
goarm:
19-
- 7
29+
- "7"
30+
2031
archives:
2132
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
2233
wrap_in_directory: true
2334
format_overrides:
24-
- goos: windows
25-
format: zip
35+
- goos: windows
36+
format: zip
37+
2638
checksum:
27-
name_template: 'checksums.txt'
39+
name_template: "checksums.txt"
40+
2841
snapshot:
2942
name_template: "{{ .Tag }}-next"
43+
3044
changelog:
3145
sort: asc
3246
filters:
3347
exclude:
34-
- '^docs:'
35-
- '^test:'
48+
- "^docs:"
49+
- "^test:"

client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const rawCanvas = new OffscreenCanvas(screenWidth, screenHeight); // Define widt
22
let portrait = getQueryParam('portrait');
33
portrait = portrait !== null ? portrait === 'true' : false;
44

5-
defaultFlip = true;
5+
defaultFlip = false;
66
// If this is the Paper Pro, we don't need to flip the image.
77
if (DeviceModel === 'RemarkablePaperPro') {
88
defaultFlip = false;

exploration/main.go

Lines changed: 0 additions & 65 deletions
This file was deleted.

exploration/test.png

-17.1 KB
Binary file not shown.

testdata/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.raw filter=lfs diff=lfs merge=lfs -text
2+
colorful.raw filter=lfs diff=lfs merge=lfs -text

testdata/colorful.raw

21.6 MB
Binary file not shown.

testdata/maps

Lines changed: 0 additions & 646 deletions
This file was deleted.

testdata/test.raw

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)