Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
added key embedded in the app
Browse files Browse the repository at this point in the history
  • Loading branch information
JensvandeWiel committed Nov 8, 2023
1 parent 1d54b07 commit 9839ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- name: Set direct proxy
run: go env -w GOPROXY=direct
- run: go install github.com/wailsapp/wails/cmd/wails@latest
- name: Create api KEY file
- run: echo "${{ secrets.API_TOKEN }}" > KEY
- name: Update wails.json
run: node build/updateConfig.js ${{ github.ref_name }} false
- uses: dAppServer/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ var assets embed.FS
//go:embed wails.json
var WailsConfigFile []byte

//go:embed KEY
var KEY string

const (
logFilePath = "main.log"
)
Expand Down

0 comments on commit 9839ae9

Please sign in to comment.