chore: rename application (again)
This commit is contained in:
@@ -43,14 +43,14 @@ jobs:
|
||||
export CXX=g++
|
||||
export GOOS=linux
|
||||
export GOARCH=amd64
|
||||
go build -o ./pkcs-generator ./src
|
||||
go build -o ./runesmith ./src
|
||||
|
||||
- name: upload the building actifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package-linux64
|
||||
path: |
|
||||
./pkcs-generator
|
||||
./runesmith
|
||||
retention-days: 7
|
||||
overwrite: true
|
||||
|
||||
@@ -97,13 +97,13 @@ jobs:
|
||||
export CGO_LDFLAGS="-static-libgcc -static-libstdc++"
|
||||
go-winres simply --icon ./src/icon.png --manifest gui
|
||||
mv *.syso ./src
|
||||
go build -o ./pkcs-generator.exe -ldflags -H=windowsgui ./src
|
||||
go build -o ./runesmith.exe -ldflags -H=windowsgui ./src
|
||||
|
||||
- name: upload the building actifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package-win64
|
||||
path: |
|
||||
./pkcs-generator.exe
|
||||
./runesmith.exe
|
||||
retention-days: 7
|
||||
overwrite: true
|
||||
|
||||
10
src/main.go
10
src/main.go
@@ -7,7 +7,7 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
certpair "pkcs-generator/src/modules/certpairs"
|
||||
certpair "runesmith/src/modules/certpairs"
|
||||
"slices"
|
||||
|
||||
"fyne.io/fyne/v2"
|
||||
@@ -29,10 +29,10 @@ var (
|
||||
)
|
||||
|
||||
func main() {
|
||||
a := app.NewWithID("nl.systemec.pkcs-generator")
|
||||
a := app.NewWithID("nl.systemec.runesmith")
|
||||
a.Settings().SetTheme(theme.DefaultTheme())
|
||||
|
||||
w := a.NewWindow("PKCS-Generator")
|
||||
w := a.NewWindow("RuneSmith")
|
||||
w.Resize(windowSize)
|
||||
|
||||
var keyPath, certPath, caIssuer string
|
||||
@@ -80,7 +80,7 @@ func main() {
|
||||
})
|
||||
|
||||
keyWide := container.NewGridWrap(
|
||||
fyne.NewSize(400, 50),
|
||||
fyne.NewSize(300, 50),
|
||||
keyBtn,
|
||||
)
|
||||
|
||||
@@ -118,7 +118,7 @@ func main() {
|
||||
})
|
||||
|
||||
certWide := container.NewGridWrap(
|
||||
fyne.NewSize(400, 50),
|
||||
fyne.NewSize(300, 50),
|
||||
certBtn,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user