From bcee3ff9cf55b1590c13fe979384b453d415499f Mon Sep 17 00:00:00 2001 From: Taiizor <41683699+Taiizor@users.noreply.github.com> Date: Fri, 1 Nov 2024 03:39:36 +0300 Subject: [PATCH] New Pre-Release --- .packages/Chocolatey/24.11.1.0/sucrose.nuspec | 130 ++++++++++++++++++ .../24.11.1.0/tools/chocolateyInstall.ps1 | 34 +++++ .../24.11.1.0/tools/chocolateyUninstall.ps1 | 18 +++ .packages/Scoop/24.11.1.0/sucrose.json | 48 +++++++ ...izor.SucroseWallpaperEngine.installer.yaml | 21 +++ ...r.SucroseWallpaperEngine.locale.en-GB.yaml | 32 +++++ .../Taiizor.SucroseWallpaperEngine.yaml | 8 ++ README.md | 36 ++--- README.zh-CN.md | 36 ++--- src/Bundle/Sucrose.Bundle/Main.xaml | 2 +- 10 files changed, 328 insertions(+), 37 deletions(-) create mode 100644 .packages/Chocolatey/24.11.1.0/sucrose.nuspec create mode 100644 .packages/Chocolatey/24.11.1.0/tools/chocolateyInstall.ps1 create mode 100644 .packages/Chocolatey/24.11.1.0/tools/chocolateyUninstall.ps1 create mode 100644 .packages/Scoop/24.11.1.0/sucrose.json create mode 100644 .packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.installer.yaml create mode 100644 .packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.locale.en-GB.yaml create mode 100644 .packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.yaml diff --git a/.packages/Chocolatey/24.11.1.0/sucrose.nuspec b/.packages/Chocolatey/24.11.1.0/sucrose.nuspec new file mode 100644 index 000000000..36ecd28bb --- /dev/null +++ b/.packages/Chocolatey/24.11.1.0/sucrose.nuspec @@ -0,0 +1,130 @@ + + + + Taiizor + Taiizor + 24.11.1.0 + SucroseWallpaperEngine + Sucrose Wallpaper Engine + false + https://github.com/Taiizor/Sucrose/wiki + https://www.reddit.com/r/iSucrose + https://github.com/Taiizor/Sucrose + https://github.com/Taiizor/Sucrose/issues + https://apps.microsoft.com/detail/XP8JGPBHTJGLCQ + Sucrose Wallpaper Engine Desktop Live Lively Windows Fluent Widget + https://github.com/Taiizor/Sucrose/blob/develop/LICENSE + https://github.com/Taiizor/Sucrose/raw/develop/.images/Logo.png + https://github.com/Taiizor/Sucrose/tree/develop/.packages/Chocolatey + Sucrose is a versatile wallpaper engine that brings life to your desktop with a wide range of interactive wallpapers. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.packages/Chocolatey/24.11.1.0/tools/chocolateyInstall.ps1 b/.packages/Chocolatey/24.11.1.0/tools/chocolateyInstall.ps1 new file mode 100644 index 000000000..ea94d3eb0 --- /dev/null +++ b/.packages/Chocolatey/24.11.1.0/tools/chocolateyInstall.ps1 @@ -0,0 +1,34 @@ +$ErrorActionPreference = 'Stop' + +Get-Process 'Sucrose*' | % { + Write-Output ('Closing: {0}' -f $_.ProcessName) + Stop-Process -InputObject $_ -Force +} + +$packageArgs = @{ + packageName = 'SucroseWallpaperEngine' + checksumType = 'sha256' + fileType = 'exe' + silentArgs = '/s' + validExitCodes = @(0) +} + +if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') { + $packageArgs['checksum'] = 'E541410FA40CA01656B1780A2CE300F16AFBE10B2B7CE4A329AE7DE92259D4A6' + $packageArgs['url'] = 'https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_ARM64_24.11.1.0.exe' +} else { + if ([Environment]::Is64BitOperatingSystem) { + if ([System.Environment]::Is64BitProcess) { + $packageArgs['checksum'] = '70257F7834E2FB3D71761A86784A0F8D4419AADA9E387276385DBF8B86186BE1' + $packageArgs['url'] = 'https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x64_24.11.1.0.exe' + } else { + $packageArgs['checksum'] = '8BBF307A83B9C551C6FFEFF38BFF6C13C2293FE87B6773278199DDF9B02FD24C' + $packageArgs['url'] = 'https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x86_24.11.1.0.exe' + } + } else { + $packageArgs['checksum'] = '8BBF307A83B9C551C6FFEFF38BFF6C13C2293FE87B6773278199DDF9B02FD24C' + $packageArgs['url'] = 'https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x86_24.11.1.0.exe' + } +} + +Install-ChocolateyPackage @packageArgs \ No newline at end of file diff --git a/.packages/Chocolatey/24.11.1.0/tools/chocolateyUninstall.ps1 b/.packages/Chocolatey/24.11.1.0/tools/chocolateyUninstall.ps1 new file mode 100644 index 000000000..6850b9cc2 --- /dev/null +++ b/.packages/Chocolatey/24.11.1.0/tools/chocolateyUninstall.ps1 @@ -0,0 +1,18 @@ +$ErrorActionPreference = 'Stop' +$packageArgs = @{ + packageName = 'SucroseWallpaperEngine' + fileType = 'exe' + validExitCodes= @(0) +} + +$key = Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Sucrose' -ErrorAction SilentlyContinue + +if ($null -ne $key) { + $packageArgs['file'] = "$($key.UninstallString)" + + #Start-Process -FilePath $uninstallString -Wait + Uninstall-ChocolateyPackage @packageArgs +} +else { + Write-Warning "$($packageArgs.packageName) is not installed or has already been uninstalled." +} \ No newline at end of file diff --git a/.packages/Scoop/24.11.1.0/sucrose.json b/.packages/Scoop/24.11.1.0/sucrose.json new file mode 100644 index 000000000..c6e3982a0 --- /dev/null +++ b/.packages/Scoop/24.11.1.0/sucrose.json @@ -0,0 +1,48 @@ +{ + "version": "24.11.1.0", + "description": "Sucrose is a versatile wallpaper engine that brings life to your desktop with a wide range of interactive wallpapers.", + "homepage": "https://github.com/Taiizor/Sucrose", + "license": "GPL-3.0", + "architecture": { + "64bit": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x64_24.11.1.0.exe", + "hash": "70257F7834E2FB3D71761A86784A0F8D4419AADA9E387276385DBF8B86186BE1", + "installer": { + "script": "Start-Process \"$dir\\Sucrose_Bundle_.NET_Framework_4.8_x64_$version.exe\" -ArgumentList '/s' -Wait" + } + }, + "32bit": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x86_24.11.1.0.exe", + "hash": "8BBF307A83B9C551C6FFEFF38BFF6C13C2293FE87B6773278199DDF9B02FD24C", + "installer": { + "script": "Start-Process \"$dir\\Sucrose_Bundle_.NET_Framework_4.8_x86_$version.exe\" -ArgumentList '/s' -Wait" + } + }, + "arm64": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_ARM64_24.11.1.0.exe", + "hash": "E541410FA40CA01656B1780A2CE300F16AFBE10B2B7CE4A329AE7DE92259D4A6", + "installer": { + "script": "Start-Process \"$dir\\Sucrose_Bundle_.NET_Framework_4.8_ARM64_$version.exe\" -ArgumentList '/s' -Wait" + } + } + }, + "uninstaller": { + "script": "Start-Process (Get-ItemProperty HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Sucrose).UninstallString -Wait" + }, + "checkver": { + "github": "https://github.com/Taiizor/Sucrose" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v$version/Sucrose_Bundle_.NET_Framework_4.8_x64_$version.exe" + }, + "32bit": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v$version/Sucrose_Bundle_.NET_Framework_4.8_x86_$version.exe" + }, + "arm64": { + "url": "https://github.com/Taiizor/Sucrose/releases/download/v$version/Sucrose_Bundle_.NET_Framework_4.8_ARM64_$version.exe" + } + } + } +} diff --git a/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.installer.yaml b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.installer.yaml new file mode 100644 index 000000000..efbcb0fc8 --- /dev/null +++ b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.installer.yaml @@ -0,0 +1,21 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json + +PackageIdentifier: Taiizor.SucroseWallpaperEngine +PackageVersion: 24.11.1.0 +InstallerType: exe +InstallerSwitches: + Silent: /s + SilentWithProgress: /s +Installers: +- InstallerUrl: https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x64_24.11.1.0.exe + Architecture: x64 + InstallerSha256: 70257F7834E2FB3D71761A86784A0F8D4419AADA9E387276385DBF8B86186BE1 +- InstallerUrl: https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_x86_24.11.1.0.exe + Architecture: x86 + InstallerSha256: 8BBF307A83B9C551C6FFEFF38BFF6C13C2293FE87B6773278199DDF9B02FD24C +- InstallerUrl: https://github.com/Taiizor/Sucrose/releases/download/v24.11.1.0/Sucrose_Bundle_.NET_Framework_4.8_ARM64_24.11.1.0.exe + Architecture: arm64 + InstallerSha256: E541410FA40CA01656B1780A2CE300F16AFBE10B2B7CE4A329AE7DE92259D4A6 +ManifestType: installer +ManifestVersion: 1.6.0 diff --git a/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.locale.en-GB.yaml b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.locale.en-GB.yaml new file mode 100644 index 000000000..6ff8f78f3 --- /dev/null +++ b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.locale.en-GB.yaml @@ -0,0 +1,32 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json + +PackageIdentifier: Taiizor.SucroseWallpaperEngine +PackageVersion: 24.11.1.0 +PackageLocale: en-GB +Publisher: Taiizor +PublisherUrl: https://github.com/Taiizor +PublisherSupportUrl: https://github.com/Taiizor +PrivacyUrl: https://github.com/Taiizor/Sucrose/blob/develop/PRIVACY_POLICY.md +Author: Taiizor +PackageName: Sucrose Wallpaper Engine +PackageUrl: https://github.com/Taiizor/Sucrose +License: GPL-3.0 License +LicenseUrl: https://github.com/Taiizor/Sucrose/blob/develop/LICENSE +Copyright: Copyright © 2024 Taiizor +ShortDescription: Sucrose is a versatile wallpaper engine that brings life to your desktop with a wide range of interactive wallpapers. +Description: Sucrose is a versatile wallpaper engine that brings a wide range of interactive wallpapers to life on your desktop. With light and dark theme options, you can choose the appearance that suits your personal preferences. You can create your own wallpapers simply or in detail, and it supports multiple screens and all screen resolutions for a seamless experience across various display configurations. Completely open-source and free, Sucrose doesn't require any payments for any features, granting users full access. You can create media-responsive wallpapers using the Sucrose Audio API and design wallpapers with system status indicators using the Sucrose System API. Additionally, you can use any website as a wallpaper using CefSharp and WebView. Sucrose allows you to create your own custom wallpapers and share them with friends or the Sucrose Community. You can explore and download wallpapers offered by users directly from the Sucrose Store. In terms of performance, it ensures smooth performance by optimizing CPU and GPU usage. It automatically pauses wallpapers when fullscreen applications/games are running to conserve resources, and it has a power-saving mode that pauses wallpapers when running on battery power, such as on laptops. Sucrose is a powerful tool for personalizing and animating your desktop. It enables users to express their creativity and fully customize their desktop experiences. +Moniker: Sucrose +Tags: +- Sucrose +- Wallpaper +- Engine +- Desktop +- Live +- Lively +- Windows +- Fluent +- Widget +ReleaseNotesUrl: https://github.com/Taiizor/Sucrose/releases/tag/v24.11.1.0 +ManifestType: defaultLocale +ManifestVersion: 1.6.0 diff --git a/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.yaml b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.yaml new file mode 100644 index 000000000..caaa0e833 --- /dev/null +++ b/.packages/WinGet/24.11.1.0/Taiizor.SucroseWallpaperEngine.yaml @@ -0,0 +1,8 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json + +PackageIdentifier: Taiizor.SucroseWallpaperEngine +PackageVersion: 24.11.1.0 +DefaultLocale: en-GB +ManifestType: version +ManifestVersion: 1.6.0 diff --git a/README.md b/README.md index bac0509da..ab3dca0b9 100644 --- a/README.md +++ b/README.md @@ -242,17 +242,17 @@ .NET Framework 4.8 - + Sucrose .NET Framework 4.8 x64 - + Sucrose .NET Framework 4.8 x86 - + Sucrose .NET Framework 4.8 ARM64 @@ -260,17 +260,17 @@ .NET Framework 4.8.1 - + Sucrose .NET Framework 4.8.1 x64 - + Sucrose .NET Framework 4.8.1 x86 - + Sucrose .NET Framework 4.8.1 ARM64 @@ -278,17 +278,17 @@ .NET 6.0 - + Sucrose .NET 6.0 x64 - + Sucrose .NET 6.0 x86 - + Sucrose .NET 6.0 ARM64 @@ -296,17 +296,17 @@ .NET 7.0 - + Sucrose .NET 7.0 x64 - + Sucrose .NET 7.0 x86 - + Sucrose .NET 7.0 ARM64 @@ -314,17 +314,17 @@ .NET 8.0 - + Sucrose .NET 8.0 x64 - + Sucrose .NET 8.0 x86 - + Sucrose .NET 8.0 ARM64 @@ -332,17 +332,17 @@ .NET 9.0 - + Sucrose .NET 9.0 x64 - + Sucrose .NET 9.0 x86 - + Sucrose .NET 9.0 ARM64 diff --git a/README.zh-CN.md b/README.zh-CN.md index a11eb6f4e..2c4bd30e2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -242,17 +242,17 @@ .NET Framework 4.8 - + Sucrose .NET Framework 4.8 x64 - + Sucrose .NET Framework 4.8 x86 - + Sucrose .NET Framework 4.8 ARM64 @@ -260,17 +260,17 @@ .NET Framework 4.8.1 - + Sucrose .NET Framework 4.8.1 x64 - + Sucrose .NET Framework 4.8.1 x86 - + Sucrose .NET Framework 4.8.1 ARM64 @@ -278,17 +278,17 @@ .NET 6.0 - + Sucrose .NET 6.0 x64 - + Sucrose .NET 6.0 x86 - + Sucrose .NET 6.0 ARM64 @@ -296,17 +296,17 @@ .NET 7.0 - + Sucrose .NET 7.0 x64 - + Sucrose .NET 7.0 x86 - + Sucrose .NET 7.0 ARM64 @@ -314,17 +314,17 @@ .NET 8.0 - + Sucrose .NET 8.0 x64 - + Sucrose .NET 8.0 x86 - + Sucrose .NET 8.0 ARM64 @@ -332,17 +332,17 @@ .NET 9.0 - + Sucrose .NET 9.0 x64 - + Sucrose .NET 9.0 x86 - + Sucrose .NET 9.0 ARM64 diff --git a/src/Bundle/Sucrose.Bundle/Main.xaml b/src/Bundle/Sucrose.Bundle/Main.xaml index 13ab8e21a..d5fd97062 100644 --- a/src/Bundle/Sucrose.Bundle/Main.xaml +++ b/src/Bundle/Sucrose.Bundle/Main.xaml @@ -22,7 +22,7 @@