Skip to content

Commit

Permalink
feat: v2.0 & manifest updated & app version information and .ico added
Browse files Browse the repository at this point in the history
  • Loading branch information
ParvinEyvazov committed Aug 27, 2021
1 parent cebc455 commit 4690580
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 19 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
run:
go run generateAssets.go
mv generateAssets.go generateAssets.go.disable
# go build -o Valoline.exe
go generate
GOOS="windows" GOARCH="386" go build -o Valoline.exe
mv generateAssets.go.disable generateAssets.go
./Valoline

git:
git add .
Expand All @@ -14,6 +13,6 @@ git:
prod:
go run generateAssets.go
mv generateAssets.go generateAssets.go.disable
go generate
GOOS="windows" GOARCH="386" go build -o Valoline.exe -ldflags -H=windowsgui
mv generateAssets.go.disable generateAssets.go
./Valoline
mv generateAssets.go.disable generateAssets.go
Binary file modified Valoline.exe
Binary file not shown.
Binary file removed Valoline.exe~
Binary file not shown.
2 changes: 1 addition & 1 deletion assets.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"github.com/zserge/lorca"
)

//go:generate goversioninfo -icon=www/assets/favicon.ico -manifest=Valoline.exe.manifest

func main() {
args := []string{}
prepareArgsForLorcaBootstrap(args)
Expand Down
Binary file added resource.syso
Binary file not shown.
34 changes: 20 additions & 14 deletions valoline.exe.manifest
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="9.0.0.0"
processorArchitecture="x86"
name="app.exe"
type="win32"
/>
<description>Valoline application</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<assemblyIdentity version="1.0.0.0" processorArchitecture="x86" name="Valoline" type="win32" />
<description>Valoline application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" />
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True</dpiAware>
</windowsSettings>
</application>
</assembly>
Binary file removed valoline.syso
Binary file not shown.
43 changes: 43 additions & 0 deletions versioninfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"FixedFileInfo": {
"FileVersion": {
"Major": 0,
"Minor": 2,
"Patch": 0,
"Build": 0
},
"ProductVersion": {
"Major": 0,
"Minor": 2,
"Patch": 0,
"Build": 0
},
"FileFlagsMask": "3f",
"FileFlags ": "00",
"FileOS": "040004",
"FileType": "01",
"FileSubType": "00"
},
"StringFileInfo": {
"Comments": "Valoline application",
"CompanyName": "Valoline",
"FileDescription": "Valoline is Valorant game status changer.",
"FileVersion": "1.0",
"InternalName": "Valoline",
"LegalCopyright": "Valoline",
"LegalTrademarks": "Valoline",
"OriginalFilename": "Valoline",
"PrivateBuild": "Valoline",
"ProductName": "Valoline",
"ProductVersion": "v0.2.0.0",
"SpecialBuild": ""
},
"VarFileInfo": {
"Translation": {
"LangID": "0409",
"CharsetID": "04B0"
}
},
"IconPath": "",
"ManifestPath": ""
}

0 comments on commit 4690580

Please sign in to comment.