Skip to content

YaxinCheng/Snoopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snoopy

Snoopy screensaver from tvOS for macOS.

Features

  • SwiftUI built
  • Support all animations from tvOS with masks during transitions

Download Prebuilt Versions

Download from the releases, and double click to install.

Requirements

  • macOS Sonoma (14.0) and above

Screensaver can't be opened?

Setting the screensaver and showing only black screen may be related to this issue. After unlocking from the black screen, it may show an alert like

Screensaver can’t be opened because Apple cannot check it for malicious software

Here is what you can do to solve it:

  • Open System Settings
  • Go to Privacy & Security
  • Scroll down to the bottom and click allow Snoopy.saver to open anyway
  • Go back to Screen Saver in System Settings, and select Snoopy as the screensaver
  • Click on "Open Anyway" when the alert pops up again
  • [Optional] You may need to kill legacyScreensaver process using pkill legacyScreensaver in terminal if it still shows a black screen

DIY (Develop It Yourself)

Prerequisites:

  • Xcode
  • Swift 6 or above
  • [Optioanl] tvOS Simulator (if you don't already have the video & image resource files)

Get Resource Files

This project relies on the resource files from the tvOS simulator. Please copy the files into the existing Resources folder at the project root level (Snoopy/Resources).

You can follow the instruction to fetch resource files from a tvOS simulator.

A simplified version on how to do it is:

  • cd into the simulator path. E.g. cd '/Library/Developer/CoreSimulator/Volumes/tvOS_22K154/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS 18.2.simruntime'.
    • The path may be different given the version exists in the path
  • copy the resource files. sudo find -E . -regex ".*/[0-9]{3}.*\.(mov|heic)" -exec cp {} ~/Developer/Snoopy/Resources \;
  • remove unused files (not sure why the same masks are represented in both mov and heic, so this project just uses the heic version)
    • rm Resources/*Mask*.mov
    • rm Resources/*Outline*.mov

Compile

  1. Download the code
  2. Open the project with Xcode
  3. Build the Snoopy target
    • The output file can be found at ~/Library/Developer/Xcode/DerivedData/Snoopy-<SOME_HASH>/Build/Products/Release/Snoopy.saver

Demo

video screenshot screenshot

About

Snoopy Screensaver for macOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages