Commit f191b47b55
f191b47b552992bec4acb3650ccc47f7984b8659
parent: c0ef501ff2
Unsigned
Wraient <wraient.911@gmail.com> · 2024-12-30 10:31 UTC
Formalities
Layout: unified · split
Build/buildwindows
+2 −1
| @@ -1 +1,2 @@ |
| 1 | GOOS=windows GOARCH=amd64 go build -o curd.exe -ldflags "-s -w" ./cmd/curd/main.go\ No newline at end of file |
1 | GOOS=windows GOARCH=amd64 go build -o curd.exe -ldflags "-s -w" ./cmd/curd/main.go |
| |
2 | upx --best --ultra-brute curd.exe\ No newline at end of file |
Build/curd-windows-build.iss
+2 −2
| @@ -1,6 +1,6 @@ |
| 1 | [Setup]
|
1 | [Setup]
|
| 2 | AppName=Curd Installer
|
2 | AppName=Curd Installer
|
| 3 | AppVersion=0.0.10
|
3 | AppVersion=1.0.5 |
| 4 | DefaultDirName={userappdata}\Curd
|
4 | DefaultDirName={userappdata}\Curd
|
| 5 | PrivilegesRequired=lowest
|
5 | PrivilegesRequired=lowest
|
| 6 | AllowNoIcons=yes
|
6 | AllowNoIcons=yes
|
| @@ -15,7 +15,7 @@ Name: "desktopicon"; Description: "Create a &desktop shortcut"; GroupDescription |
| 15 |
|
15 |
|
| 16 | [Files]
|
16 | [Files]
|
| 17 | ; Copy the Curd executable to the install directory
|
17 | ; Copy the Curd executable to the install directory
|
| 18 | Source: "Z:releases/curd-0.0.10/windows/curd.exe"; DestDir: "{app}"; Flags: ignoreversion
|
18 | Source: "Z:releases/curd-1.0.5/windows/curd.exe"; DestDir: "{app}"; Flags: ignoreversion
|
| 19 | Source: "Z:/home/wraient/Projects/curd/Build/mpv.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
19 | Source: "Z:/home/wraient/Projects/curd/Build/mpv.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
|
| 20 |
|
20 |
|
| 21 | [Icons]
|
21 | [Icons]
|
internal/config.go
+2
| @@ -7,6 +7,8 @@ import ( |
| 7 | "path/filepath" |
7 | "path/filepath" |
| 8 | "reflect" |
8 | "reflect" |
| 9 | "strconv" |
9 | "strconv" |
| |
10 | "os/exec" |
| |
11 | "runtime" |
| 10 | "strings" |
12 | "strings" |
| 11 | ) |
13 | ) |
| 12 | |
14 | |