~f4814n/frost

4f2dc109d4637237b0fef80ef77b798b185d757f — Fabian Geiselhart 3 months ago 7a90fe0
build: Disable crypto for all builds
M .builds/apple.yml => .builds/apple.yml +1 -1
@@ 58,7 58,7 @@ tasks:
  - build_macos: |
      cd frost
      export PATH=/home/build/appletools/bin:$PATH
      CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-macos CGO_CFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" CGO_LDFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" GOOS=darwin CGO_ENABLED=1 go build ./cmd/frost
      CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-macos CGO_CFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" CGO_LDFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" GOOS=darwin CGO_ENABLED=1 go build -tags nocrypto ./cmd/frost
  - build_ios_app: |
      cd frost
      export PATH=/home/build/appletools/bin:$PATH

M .builds/linux.yml => .builds/linux.yml +1 -1
@@ 24,4 24,4 @@ tasks:
      go test ./...
  - build: |
      cd frost
      go build ./cmd/frost
      go build -tags nocrypto ./cmd/frost

M .builds/wasm.yml => .builds/wasm.yml +1 -1
@@ 8,5 8,5 @@ artifacts:
tasks:
  - build: |
      cd frost
      go run gioui.org/cmd/gogio -target js ./cmd/frost
      go run gioui.org/cmd/gogio -tags nocrypto -target js ./cmd/frost
      tar -czvf frost.tar.gz frost

M .builds/windows.yml => .builds/windows.yml +1 -1
@@ 9,4 9,4 @@ artifacts:
tasks:
  - build: |
      cd frost
      CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -ldflags="-extld=$CC" ./cmd/frost
      CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -tags nocrypto -ldflags="-extld=$CC" ./cmd/frost

M go.mod => go.mod +1 -1
@@ 6,7 6,7 @@ require (
	gioui.org v0.0.0-20210116085804-99bfa6a33cdf
	gioui.org/cmd v0.0.0-20201020094634-d5bdf0756a5a
	gioui.org/x v0.0.0-20210116203642-b812805638ca
	git.sr.ht/~f4814n/matrix v0.0.0-20210109173214-a4eb7ce0da5c
	git.sr.ht/~f4814n/matrix v0.0.0-20210130175514-25c2672c968f
	go.uber.org/zap v1.16.0
	golang.org/x/exp v0.0.0-20201229011636-eab1b5eb1a03
	golang.org/x/image v0.0.0-20200927104501-e162460cd6b5

M go.sum => go.sum +2 -0
@@ 10,6 10,8 @@ gioui.org/x v0.0.0-20210116203642-b812805638ca h1:nkUukjo7RjLu9L3HYHE/r/mtCi1svC
gioui.org/x v0.0.0-20210116203642-b812805638ca/go.mod h1:+CDNGkslHDIe1EK2Q4E0G98qRllCaQrL6qtjBhBjSAo=
git.sr.ht/~f4814n/matrix v0.0.0-20210109173214-a4eb7ce0da5c h1:ViWW5NnBmVHdRrHzgXcZxDtyDHvPzv61HdivQ2z39W4=
git.sr.ht/~f4814n/matrix v0.0.0-20210109173214-a4eb7ce0da5c/go.mod h1:yR3YNkJR8S3qLkGh178oKRm3MnsT5cERNEXOF8eFOIo=
git.sr.ht/~f4814n/matrix v0.0.0-20210130175514-25c2672c968f h1:KvA5VpY1wZHEfFxge3+uV1cnVkVG2JCHG3EffKK4Xmo=
git.sr.ht/~f4814n/matrix v0.0.0-20210130175514-25c2672c968f/go.mod h1:yR3YNkJR8S3qLkGh178oKRm3MnsT5cERNEXOF8eFOIo=
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=

M platform/platform_windows.go => platform/platform_windows.go +2 -3
@@ 2,7 2,6 @@ package platform

import (
	"encoding/json"
	"fmt"
	"os"

	"git.sr.ht/~f4814n/matrix"


@@ 18,13 17,13 @@ type platformWindows struct {
func Init() (Platform, error) {
	dataDir, err := os.UserConfigDir()
	if err != nil {
		return err
		return platformWindows{}, err
	}
	dataDir += "\\frost"

	cacheDir, err := os.UserCacheDir()
	if err != nil {
		return err
		return platformWindows{}, err
	}
	cacheDir += "\\frost"