diff --git a/desktop/build-assets.sh b/desktop/build-assets.sh new file mode 100644 index 0000000..3d61339 --- /dev/null +++ b/desktop/build-assets.sh @@ -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" diff --git a/desktop/build/Info.dev.plist b/desktop/build/Info.dev.plist index 5e6e631..feebf9e 100644 --- a/desktop/build/Info.dev.plist +++ b/desktop/build/Info.dev.plist @@ -4,11 +4,11 @@ CFBundlePackageType APPL CFBundleName - My Product + Peachy CFBundleExecutable - YourName + Peachy CFBundleIdentifier - com.wails.yourname + us.dyck.brandon.peachy CFBundleVersion 0.1.0 CFBundleGetInfoString @@ -22,7 +22,7 @@ NSHighResolutionCapable true NSHumanReadableCopyright - © now, My Company + © 2024 Brandon Dyck NSAppTransportSecurity NSAllowsLocalNetworking diff --git a/desktop/build/Info.plist b/desktop/build/Info.plist index c7bbda7..05ba69a 100644 --- a/desktop/build/Info.plist +++ b/desktop/build/Info.plist @@ -4,11 +4,11 @@ CFBundlePackageType APPL CFBundleName - My Product + Peachy CFBundleExecutable - YourName + Peachy CFBundleIdentifier - com.wails.yourname + us.dyck.brandon.peachy CFBundleVersion 0.1.0 CFBundleGetInfoString @@ -22,6 +22,6 @@ NSHighResolutionCapable true NSHumanReadableCopyright - © now, My Company + © 2024 Brandon Dyck \ No newline at end of file diff --git a/desktop/build/devmode.config.yaml b/desktop/build/devmode.config.yaml index 83d6667..f324270 100644 --- a/desktop/build/devmode.config.yaml +++ b/desktop/build/devmode.config.yaml @@ -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 diff --git a/desktop/build/info.json b/desktop/build/info.json index 6374a1d..f8889e3 100644 --- a/desktop/build/info.json +++ b/desktop/build/info.json @@ -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" + } + } +} \ No newline at end of file diff --git a/desktop/build/nsis/MicrosoftEdgeWebview2Setup.exe b/desktop/build/nsis/MicrosoftEdgeWebview2Setup.exe new file mode 100644 index 0000000..89a56ec Binary files /dev/null and b/desktop/build/nsis/MicrosoftEdgeWebview2Setup.exe differ diff --git a/desktop/build/nsis/project.nsi b/desktop/build/nsis/project.nsi index 8fe1f70..f136f9f 100644 --- a/desktop/build/nsis/project.nsi +++ b/desktop/build/nsis/project.nsi @@ -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}" diff --git a/desktop/build/nsis/wails_tools.nsh b/desktop/build/nsis/wails_tools.nsh index 76a93cb..5270248 100644 --- a/desktop/build/nsis/wails_tools.nsh +++ b/desktop/build/nsis/wails_tools.nsh @@ -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" diff --git a/desktop/build/wails.exe.manifest b/desktop/build/wails.exe.manifest index 5f9a679..7c51e89 100644 --- a/desktop/build/wails.exe.manifest +++ b/desktop/build/wails.exe.manifest @@ -1,6 +1,6 @@ - + diff --git a/desktop/wails.syso b/desktop/wails.syso index 98b83f0..3ac0342 100644 Binary files a/desktop/wails.syso and b/desktop/wails.syso differ