Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
maldan committed Jun 10, 2021
1 parent 4407b54 commit 28a3491
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 302 deletions.
3 changes: 3 additions & 0 deletions build-linux-on-win.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set GOARCH=amd64
set GOOS=linux
go build ./internal/app/gam
264 changes: 0 additions & 264 deletions docs/index.html

This file was deleted.

24 changes: 24 additions & 0 deletions internal/app/gam/const.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package main

import "runtime"

const CurrentPlatform = runtime.GOOS + "-" + runtime.GOARCH

var GamDir string
var GamAppDir string

type ReleaseList struct {
ReleaseList []Release `json:"users"`
}

type Release struct {
Url string `json:"url"`
TagName string `json:"tag_name"`
Assets []Asset `json:"assets"`
}

type Asset struct {
Name string `json:"name"`
Url string `json:"url"`
DownloadUrl string `json:"browser_download_url"`
}
Loading

0 comments on commit 28a3491

Please sign in to comment.