Update Wails asset metadata

This commit is contained in:
Brandon Dyck 2024-11-05 16:28:39 -07:00
parent 994e432891
commit cfe036636a
10 changed files with 55 additions and 52 deletions

3
desktop/build-assets.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
wails3 generate build-assets -name "Peachy" -productcompany "Brandon Dyck" -productname "Peachy" -productcopyright "© 2024 Brandon Dyck" -productidentifier "us.dyck.brandon.peachy" -productdescription "A CMS for static sites"

View File

@ -4,11 +4,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>My Product</string>
<string>Peachy</string>
<key>CFBundleExecutable</key>
<string>YourName</string>
<string>Peachy</string>
<key>CFBundleIdentifier</key>
<string>com.wails.yourname</string>
<string>us.dyck.brandon.peachy</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<key>CFBundleGetInfoString</key>
@ -22,7 +22,7 @@
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>© now, My Company</string>
<string>© 2024 Brandon Dyck</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>

View File

@ -4,11 +4,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleName</key>
<string>My Product</string>
<string>Peachy</string>
<key>CFBundleExecutable</key>
<string>YourName</string>
<string>Peachy</string>
<key>CFBundleIdentifier</key>
<string>com.wails.yourname</string>
<string>us.dyck.brandon.peachy</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<key>CFBundleGetInfoString</key>
@ -22,6 +22,6 @@
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>NSHumanReadableCopyright</key>
<string>© now, My Company</string>
<string>© 2024 Brandon Dyck</string>
</dict>
</plist>

View File

@ -1,24 +1,24 @@
config:
root_path: .
log_level: warn
debounce: 1000
ignore:
dir:
- .git
- node_modules
- frontend
- bin
file:
- .DS_Store
- .gitignore
- .gitkeep
watched_extension:
- "*.go"
git_ignore: true
executes:
- cmd: go mod tidy
type: blocking
- cmd: wails3 task build
type: blocking
- cmd: wails3 task run
type: primary
root_path: .
log_level: warn
debounce: 1000
ignore:
dir:
- .git
- node_modules
- frontend
- bin
file:
- .DS_Store
- .gitignore
- .gitkeep
watched_extension:
- "*.go"
git_ignore: true
executes:
- cmd: go mod tidy
type: blocking
- cmd: wails3 task build
type: blocking
- cmd: wails3 task run
type: primary

View File

@ -1,15 +1,15 @@
{
"fixed": {
"file_version": "0.1.0"
},
"info": {
"0000": {
"ProductVersion": "0.1.0",
"CompanyName": "Your Company",
"FileDescription": "Your application description",
"LegalCopyright": "Your Company",
"ProductName": "Your Product Name",
"Comments": "Your comments"
}
}
"fixed": {
"file_version": "0.1.0"
},
"info": {
"0000": {
"ProductVersion": "0.1.0",
"CompanyName": "Brandon Dyck",
"FileDescription": "A CMS for static sites",
"LegalCopyright": "© 2024 Brandon Dyck",
"ProductName": "Peachy",
"Comments": "This is a comment"
}
}
}

Binary file not shown.

View File

@ -19,11 +19,11 @@ Unicode true
####
## The following information is taken from the wails_tools.nsh file, but they can be overwritten here.
####
## !define INFO_PROJECTNAME "my-project" # Default "YourProject"
## !define INFO_COMPANYNAME "My Company" # Default "My Company"
## !define INFO_PRODUCTNAME "My Product Name" # Default "My Product"
## !define INFO_PROJECTNAME "my-project" # Default "Peachy"
## !define INFO_COMPANYNAME "My Company" # Default "Brandon Dyck"
## !define INFO_PRODUCTNAME "My Product Name" # Default "Peachy"
## !define INFO_PRODUCTVERSION "1.0.0" # Default "0.1.0"
## !define INFO_COPYRIGHT "(c) Now, My Company" # Default "© now, My Company"
## !define INFO_COPYRIGHT "(c) Now, My Company" # Default "© 2024 Brandon Dyck"
###
## !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"
## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"

View File

@ -8,7 +8,7 @@
!define INFO_PROJECTNAME "Peachy"
!endif
!ifndef INFO_COMPANYNAME
!define INFO_COMPANYNAME "My Company"
!define INFO_COMPANYNAME "Brandon Dyck"
!endif
!ifndef INFO_PRODUCTNAME
!define INFO_PRODUCTNAME "Peachy"
@ -17,7 +17,7 @@
!define INFO_PRODUCTVERSION "0.1.0"
!endif
!ifndef INFO_COPYRIGHT
!define INFO_COPYRIGHT "© now, My Company"
!define INFO_COPYRIGHT "© 2024 Brandon Dyck"
!endif
!ifndef PRODUCT_EXECUTABLE
!define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity type="win32" name="com.wails.yourname" version="0.1.0" processorArchitecture="*"/>
<assemblyIdentity type="win32" name="us.dyck.brandon.peachy" version="0.1.0" processorArchitecture="*"/>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>

Binary file not shown.