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

View File

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

View File

@ -5,11 +5,11 @@
"info": { "info": {
"0000": { "0000": {
"ProductVersion": "0.1.0", "ProductVersion": "0.1.0",
"CompanyName": "Your Company", "CompanyName": "Brandon Dyck",
"FileDescription": "Your application description", "FileDescription": "A CMS for static sites",
"LegalCopyright": "Your Company", "LegalCopyright": "© 2024 Brandon Dyck",
"ProductName": "Your Product Name", "ProductName": "Peachy",
"Comments": "Your comments" "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. ## 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_PROJECTNAME "my-project" # Default "Peachy"
## !define INFO_COMPANYNAME "My Company" # Default "My Company" ## !define INFO_COMPANYNAME "My Company" # Default "Brandon Dyck"
## !define INFO_PRODUCTNAME "My Product Name" # Default "My Product" ## !define INFO_PRODUCTNAME "My Product Name" # Default "Peachy"
## !define INFO_PRODUCTVERSION "1.0.0" # Default "0.1.0" ## !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 PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"
## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}" ## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"

View File

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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?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"> <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> <dependency>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>

Binary file not shown.