Skip to content

Commit

Permalink
Merge pull request #123 from owulveryck/smallFixes
Browse files Browse the repository at this point in the history
fix the flip stuffs
  • Loading branch information
owulveryck authored Dec 24, 2024
2 parents a3f5dbf + 6fd0100 commit 0dd9345
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 734 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,23 @@ name: goreleaser
on:
push:
tags:
- '*'
- "*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
go-version: 1.23
- name: Install Protoc
uses: arduino/setup-protoc@v1
-
name: Run GoReleaser
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
Expand Down
36 changes: 25 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,49 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2

before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate

builds:
- env:
- CGO_ENABLED=0
id: "Server"
id: "Remarkable Paper Pro"
main: .
binary: goMarkableStream
goos:
- linux
goarch:
- arm64
goarm:
- "7"
- env:
- CGO_ENABLED=0
id: "Remarkable 2"
main: .
binary: goMarkableStream
goos:
- linux
goarch:
- arm
goarm:
- 7
- "7"

archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"
2 changes: 1 addition & 1 deletion client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const rawCanvas = new OffscreenCanvas(screenWidth, screenHeight); // Define widt
let portrait = getQueryParam('portrait');
portrait = portrait !== null ? portrait === 'true' : false;

defaultFlip = true;
defaultFlip = false;
// If this is the Paper Pro, we don't need to flip the image.
if (DeviceModel === 'RemarkablePaperPro') {
defaultFlip = false;
Expand Down
65 changes: 0 additions & 65 deletions exploration/main.go

This file was deleted.

Binary file removed exploration/test.png
Binary file not shown.
1 change: 1 addition & 0 deletions testdata/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.raw filter=lfs diff=lfs merge=lfs -text
colorful.raw filter=lfs diff=lfs merge=lfs -text
Binary file added testdata/colorful.raw
Binary file not shown.
646 changes: 0 additions & 646 deletions testdata/maps

This file was deleted.

3 changes: 0 additions & 3 deletions testdata/test.raw

This file was deleted.

0 comments on commit 0dd9345

Please sign in to comment.