haren724 / wallpaper-player-mac Goto Github PK
View Code? Open in Web Editor NEWA powerful open source live wallpaper app for mac
Home Page: https://docc.haren724.top
License: GNU General Public License v3.0
A powerful open source live wallpaper app for mac
Home Page: https://docc.haren724.top
License: GNU General Public License v3.0
您的功能请求是否与目前所存在的问题有关?请描述一下
使用 Steam CMD
安装 Wallpaper Engine
自动拉取创意工坊的壁纸列表
描述您想要的解决方案
等待 Steeam CMD
拉取完成后,可以自动扫描 ~/Library/Application Support/Steam/steamapps/content/431960
下的壁纸(默认),如果没有则可以由用户提供。
简单命令过程:
mkdir ~/Steam && cd ~/Steam
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_osx.tar.gz" | tar zxvf -
./steamcmd.sh
# 登录
login user pass
# 必须设置平台为 Windows
@sSteamCmdForcePlatformType windows
# 下载安装 Wallpaper Engine
app_update 431960
附加内容
拉取完成后, 可以看到在这个目录下有在创意工坊中收藏的所有壁纸
...
...
…
描述错误
README 的 第86行 使用 XCODE 打开有笔误
open open-wallpaper-engine-mac -a /Application/Xcode.app
这里应该是 open open-wallpaper-engine-mac -a /Applications/Xcode.app
即应该为 Applications
而非 Application
这是个小错误,大佬有空就顺便改了吧?
问下大佬具体要怎么提取Wallpaper Engine里面壁纸然后可以在这个软件里面加载啊
Originally posted by haren724 August 7, 2023
Now I have some trouble with Filter Result ViewModel. The classes like
现在我在Filter Result ViewModel上遇到了一些问题。比如这种class
class FRWidescreenResolution<ObjectType>: FilterResultsModel where ObjectType: ObservableObject {
weak var parent: ObjectType?
required init() {}
@AppStorage("StandardDefinition") public var standardDefinition = true
@AppStorage("1280x720") public var resolution1280x720 = true
@AppStorage("1920x1080-FullHD") public var resolution1920x1080 = true
@AppStorage("2560x1440") public var resolution2560x1440 = true
@AppStorage("3840x2160-4K") public var resolution3840x2160 = true
}
need to be converted into
需要被转换成
struct FRWidescreenResolution: OptionSet {
let rawValue: Int
static let allOptions = [
"StandardDefinition",
"1280x720",
"Mature",
"1920x1080-FullHD",
"2560x1440",
"3840x2160-4K"
]
static let standardDefinition = Self.init(rawValue: 1 << 0)
static let resolution1280x720 = Self.init(rawValue: 1 << 1)
static let resolution1920x1080 = Self.init(rawValue: 1 << 2)
static let resolution2560x1440 = Self.init(rawValue: 1 << 3)
static let resolution3840x2160 = Self.init(rawValue: 1 << 4)
static let all: Self = [.standardDefinition, resolution1280x720, resolution1920x1080, .resolution2560x1440, .resolution3840x2160]
static let none: Self = []
}
And then it comes to UI code. Make a full use of the allOptions
created above to the ForEach
然后,对于UI代码的更改,充分利用上面创建的“allOptions”到“ForEach”
ForEach(Array(zip(FRWidescreenResolution.allOptions.indices, FRWidescreenResolution.allOptions)), id: \.0) { (i, option) in
Toggle(option, isOn: Binding<Bool>(get: {
viewModel.widescreenResolution.contains(FRWidescreenResolution(rawValue: 1 << i))
}, set: {
if $0 {
viewModel.widescreenResolution.insert(FRWidescreenResolution(rawValue: 1 << i))
} else {
viewModel.widescreenResolution.remove(FRWidescreenResolution(rawValue: 1 << i))
}
print(String(describing: viewModel.widescreenResolution))
}))
}
Last. The declaration of struct's variable needs to be modified. And because there's no methods in newly created struct anymore, so the .reset()
call should be changed into = .all
最后一点,需要修改一下结构体变量的声明方法。而且因为新创建的结构体中不再有内部方法,所以.reset()
调用应该更改为= .all
class FilterResultsViewModel: ObservableObject {
// ... some codes
@AppStorage("FRWidescreenResolution") public var widescreenResolution = FRWidescreenResolution.all
// ... some codes
public func reset() {
// ... some codes
self.widescreenResolution = .all
// ... some codes
}
}
以下是报错日志:
Engine[23897:171509] -[NSNib _initWithNibNamed:bundle:options:] could not load the nibName: Open_Wallpaper_Engine.WallpaperViewController in bundle NSBundle </Users/yujiale/Library/Developer/Xcode/DerivedData/Open_Wallpaper_Engine-bxsqphaeozfylefxrsanvmmodibt/Build/Products/Debug/Open Wallpaper Engine.app> (loaded).
描述错误
mac开机, 壁纸自启后, 动态壁纸只占据左下角 1/4屏幕 (后面的全屏背景则是对应的静态图片)
重现过程
重现触发bug的步骤:
重置壁纸软件设置没用;
重新打开壁纸软件则恢复正常.
系统版本: macOS 14.4.1 (23E224)
Open Wallpaper Engine 0.5.1
Mac mini 2018
我的系统是macOS Monterey 12.7.2,我准备使用时,他说不符合最低的系统要求
我就寻思自己编译
就想问Xcode14.2是否可以编译此项目
或者说推出适用于macOS Monterey的open-wallpaper-engine-mac
I really like this fluid wallpaper from wallpaper engine. Does it work with this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1748506393)](https://steamcommunity.com/sharedfiles/filedetails/?id=1748506393)
1.在导入多张壁纸时无法切换壁纸
2.在呼出设置和筛选结果菜单时会出现黑屏的情况
3.某些视频壁纸无法识别
设备:DELL灵越5570
系统:MacOS13
版本:0.1.0
描述错误
在侧栏的参数设置中将音量调整到0.0后,壁纸音频依然不会被静音
重现过程
重现触发bug的步骤:
预期行为
壁纸播放的音频被静音
Desktop (please complete the following information):
附加内容
似乎调整音量的时候会出现两个音频,一个可以被参数设置的音量控制,另一个无法被控制.
错误
在macOS 13上编译WallpaperExplorer时出现
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
重现过程
重现触发bug的步骤:
预期行为
编译顺利通过
操作系统
Xcode系统
导入视频壁纸之后,每次循环开始的时候会黑屏闪烁一下
Describe the bug
The app will not launch and says Open Wallpaper Engine quit unexpectedly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The open opens
Desktop (please complete the following information):
Additional context
Please fix
Describe the bug
after opening the app and it sets the "wallpaper not found" image and opens, but I can't do anything, everything keeps loading infinitely and I can't change the background.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was hoping to be able to change the wallpaper, search for new wallpapers, upload my wallpapers.
Desktop (please complete the following information):
Additional context
i use an amd hackintosh
This issue was drafted for marking the known issue which includes in-progress or waiting to be solved issues, and also for everyone who is currently testing for this app to get the latest progress.
Hello,
I'm on the latest TestFlight and tried to use this background https://steamcommunity.com/sharedfiles/filedetails/?id=3025900324 but it doesn't work. I downloaded it from Steam on windows and imported it on Mac but it doesn't do a thing. Do you know why?
I'm on Sonoma on a M2 Mini
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.