Skip to content

Commit 542a6be

Browse files
committed
up[dates
1 parent 7c1adb2 commit 542a6be

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

.github/workflows/release_build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
with:
2424
build-name: ${{ matrix.build.name }}
2525
build-platform: ${{ matrix.build.platform }}
26-
build-obfuscate: true
2726
nsis: ${{ contains(matrix.build.os, 'windows') }}
2827
go-version: 1.24
2928
wails-build-webview2: "embed"

build/windows/installer/project.nsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ ManifestDPIAware true
5050

5151
!include "MUI.nsh"
5252

53-
!define REQUEST_EXECUTION_LEVEL "user"
53+
!ifndef REQUEST_EXECUTION_LEVEL
54+
!define REQUEST_EXECUTION_LEVEL "user"
55+
!endif
5456
!define MUI_ICON "..\icon.ico"
5557
!define MUI_UNICON "..\icon.ico"
5658
# !define MUI_WELCOMEFINISHPAGE_BITMAP "resources\leftimage.bmp" #Include this to add a bitmap on the left side of the Welcome Page. Must be a size of 164x314

main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import (
66
"github.com/wailsapp/wails/v2"
77
"github.com/wailsapp/wails/v2/pkg/options"
88
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
9+
"github.com/wailsapp/wails/v2/pkg/options/mac"
10+
"github.com/wailsapp/wails/v2/pkg/options/windows"
911
)
1012

1113
//go:embed all:frontend/dist
@@ -28,6 +30,18 @@ func main() {
2830
Bind: []interface{}{
2931
app,
3032
},
33+
Windows: &windows.Options{
34+
WebviewGpuIsDisabled: true,
35+
},
36+
Mac: &mac.Options{
37+
TitleBar: &mac.TitleBar{
38+
TitlebarAppearsTransparent: true,
39+
},
40+
About: &mac.AboutInfo{
41+
Title: "Desktop Cheat Sheet",
42+
Message: "© @mvrpl_br",
43+
},
44+
},
3145
})
3246

3347
if err != nil {

wails.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@
99
"author": {
1010
"name": "Marcos Vinícius Rodrigues Pires de Lima",
1111
"email": "mvrpl.me@gmail.com"
12-
}
12+
},
13+
"info": {
14+
"productVersion": "0.1.0"
15+
},
16+
"nsisType": "single"
1317
}

0 commit comments

Comments
 (0)