diff --git a/winres/icon.png b/winres/icon.png new file mode 100644 index 0000000..ea056ce Binary files /dev/null and b/winres/icon.png differ diff --git a/winres/winres.json b/winres/winres.json new file mode 100644 index 0000000..cf84290 --- /dev/null +++ b/winres/winres.json @@ -0,0 +1,60 @@ +{ + "RT_GROUP_ICON": { + "APP": { + "0000": [ + "icon.png" + ] + } + }, + "RT_MANIFEST": { + "#1": { + "0409": { + "identity": { + "name": "EveryNasa", + "version": "2.0" + }, + "description": "Automatic space wallpaper from Nasa", + "minimum-os": "win10", + "execution-level": "", + "ui-access": false, + "auto-elevate": false, + "dpi-awareness": "system", + "disable-theming": false, + "disable-window-filtering": false, + "high-resolution-scrolling-aware": false, + "ultra-high-resolution-scrolling-aware": false, + "long-path-aware": false, + "printer-driver-isolation": false, + "gdi-scaling": false, + "segment-heap": false, + "use-common-controls-v6": false + } + } + }, + "RT_VERSION": { + "#1": { + "0000": { + "fixed": { + "file_version": "2.0", + "product_version": "2.0" + }, + "info": { + "0409": { + "Comments": "", + "CompanyName": "Redume", + "FileDescription": "", + "FileVersion": "2.0", + "InternalName": "EveryNasa", + "LegalCopyright": "Redume", + "LegalTrademarks": "", + "OriginalFilename": "EveryNasa.exe", + "PrivateBuild": "", + "ProductName": "EveryNasa", + "ProductVersion": "2.0", + "SpecialBuild": "" + } + } + } + } + } +} \ No newline at end of file diff --git a/wix.json b/wix.json new file mode 100644 index 0000000..6f55b80 --- /dev/null +++ b/wix.json @@ -0,0 +1,49 @@ +{ + "product": "EveryNasa", + "company": "Redume", + "license": "LICENSE", + "upgrade-code": "4165e562-ab60-4ac2-b27b-df2d62548dd9", + "files": { + "guid": "c68b679d-8199-4036-8ead-d509fad132c8", + "items": [ + "EveryNasa.exe" + ] + }, + "directories": [ + "api", + "web", + "functions" + ], + "env": { + "guid": "24554370-7366-4725-8509-7aebb35da25a", + "vars": [ + { + "name": "PATH", + "value": "[INSTALLDIR]", + "permanent": "no", + "system": "no", + "action": "set", + "part": "last" + } + ] + }, + "shortcuts": { + "guid": "f2fb0dac-ddda-4c8e-bba4-3eb377150cde", + "items": [ + { + "name": "EveryNasa", + "description": "Automatic space wallpaper from Nasa", + "target": "[INSTALLDIR]EveryNasa.exe", + "wdir": "INSTALLDIR", + "arguments": "", + "icon": "web/static/image/icons/icon.ico" + } + ] + }, + "choco": { + "description": "Automatic space wallpaper from Nasa", + "project-url": "https://github.com/Redume/EveryNasa", + "tags": "Wallpaper, Nasa, go, auto-wallpaper", + "license-url": "https://github.com/Redume/EveryNasa/blob/main/LICENSE" + } +} \ No newline at end of file diff --git a/wix/LicenseAgreementDlg_HK.wxs b/wix/LicenseAgreementDlg_HK.wxs new file mode 100644 index 0000000..10ad6d8 --- /dev/null +++ b/wix/LicenseAgreementDlg_HK.wxs @@ -0,0 +1,35 @@ + + + + + + + + + + CostingComplete = 1 + + "1"]]> + + LicenseAccepted = "1" + + + 1 + + + + {{if gt (.License | len) 0}} + + {{end}} + + + 1 + + + + + + + + + diff --git a/wix/WixUI_HK.wxs b/wix/WixUI_HK.wxs new file mode 100644 index 0000000..51f40d6 --- /dev/null +++ b/wix/WixUI_HK.wxs @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + "1"]]> + + + 1 + + NOT Installed + Installed AND PATCH + + 1 + LicenseAccepted = "1" + + 1 + 1 + NOT WIXUI_DONTVALIDATEPATH + + "1"]]> + + WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1" + + 1 + 1 + + Installed + + 1 + + 1 + 1 + 1 + + + + + diff --git a/wix/product.wxs b/wix/product.wxs new file mode 100644 index 0000000..c92f425 --- /dev/null +++ b/wix/product.wxs @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + NOT NEWERVERSIONDETECTED + + + + + + {{if gt (.Files.Items | len) 0}} + + {{range $i, $e := .Files.Items}} + + {{end}} + + {{end}} + {{if gt (.Directories | len) 0}} + {{range $i, $e := .Directories}} + + {{end}} + {{end}} + + + {{if gt (.Env.Vars | len) 0}} + + {{range $i, $e := .Env.Vars}} + + {{end}} + + {{end}} + + {{if gt (.Shortcuts.Items | len) 0}} + + + + {{range $i, $e := .Shortcuts.Items}} + + {{if gt ($e.Icon | len) 0}} + + {{end}} + + + {{end}} + + + + + {{end}} + + {{range $i, $e := .InstallHooks}} + + + {{end}} + {{range $i, $e := .UninstallHooks}} + + + {{end}} + + + {{range $i, $e := .InstallHooks}} + NOT Installed AND NOT REMOVE + {{end}} + {{range $i, $e := .UninstallHooks}} + REMOVE ~= "ALL" + {{end}} + + + + {{if gt (.Env.Vars | len) 0}} + + {{end}} + {{if gt (.Files.Items | len) 0}} + + {{end}} + {{if gt (.Shortcuts.Items | len) 0}} + + {{end}} + {{range $i, $e := .Directories}} + + {{end}} + + + + + + + + + + + + + + + +