Skip to content

Commit

Permalink
Revert Some Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thororen1234 committed Aug 27, 2024
1 parent 2cd31b1 commit 47791be
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build-linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04 # hopefully older glibc for better compatibility on systems like debian bullseye

steps:
- name: Install Go
Expand All @@ -35,7 +35,7 @@ jobs:
run: go get -v

- name: Build Cli
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -tags "static cli" -ldflags "-s -w -X 'equilotl/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'equilotl/buildinfo.InstallerTag=${{ github.ref_name }}'" -o EquilotlCli-linux
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -tags "static cli" -ldflags "-s -w -X 'vencord/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencord/buildinfo.InstallerTag=${{ github.ref_name }}'" -o EquilotlCli-linux

- name: Update executable
run: |
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
run: go get -v

- name: Build
run: CGO_CFLAGS="-mmacosx-version-min=10.15" CGO_LDFLAGS="-mmacosx-version-min=10.15" CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -tags static -ldflags "-s -w -X 'equilotl/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'equilotl/buildinfo.InstallerTag=${{ github.ref_name }}'" -o Equilotl
run: CGO_CFLAGS="-mmacosx-version-min=10.15" CGO_LDFLAGS="-mmacosx-version-min=10.15" CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -tags static -ldflags "-s -w -X 'vencord/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencord/buildinfo.InstallerTag=${{ github.ref_name }}'" -o Equilotl

- name: Update executable
run: |
Expand Down Expand Up @@ -149,14 +149,14 @@ jobs:
export GOROOT=/mingw64/lib/go
export GOPATH=/mingw64
go-winres make --product-version "git-tag"
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -v -tags static -ldflags "-s -w -H=windowsgui -extldflags=-static -X 'equilotl/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'equilotl/buildinfo.InstallerTag=${{ github.ref_name }}'" -o Equilotl.exe
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -v -tags static -ldflags "-s -w -H=windowsgui -extldflags=-static -X 'vencord/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencord/buildinfo.InstallerTag=${{ github.ref_name }}'" -o Equilotl.exe
- name: Build i386 Cli
shell: msys2 {0}
run: |
export GOROOT=/mingw64/lib/go
export GOPATH=/mingw64
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -v -tags "static cli" -ldflags "-s -w -extldflags=-static -X 'equilotl/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'equilotl/buildinfo.InstallerTag=${{ github.ref_name }}'" -o EquilotlCli.exe
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -v -tags "static cli" -ldflags "-s -w -extldflags=-static -X 'vencord/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencord/buildinfo.InstallerTag=${{ github.ref_name }}'" -o EquilotlCli.exe
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -201,4 +201,4 @@ jobs:
files: |
linux/EquilotlCli-linux
macos/Equilotl.MacOS.zip
windows/Equilotl*.exe
windows/Equilotl*.exe
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

equilotl
*.exe
*.syso
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package main

import (
"equilotl/buildinfo"
"vencord/buildinfo"
"errors"
"flag"
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package main

import (
"equilotl/buildinfo"
"vencord/buildinfo"
"image/color"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module equilotl
module vencord

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package main
import (
"bytes"
_ "embed"
"equilotl/buildinfo"
"vencord/buildinfo"
"errors"
"image"
"image/color"
Expand Down
2 changes: 1 addition & 1 deletion self_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package main

import (
"equilotl/buildinfo"
"vencord/buildinfo"
"errors"
"fmt"
"io"
Expand Down

0 comments on commit 47791be

Please sign in to comment.