Compare commits

...

3 Commits

5 changed files with 50 additions and 1 deletions
+5 -1
View File
@@ -100,11 +100,15 @@ $(APP)/Contents/Info.plist: Resources/Info.plist
mkdir -p "$(APP)/Contents"
cp "$<" "$@"
$(APP)/Contents/Resources/AppIcon.icns: Resources/AppIcon.icns
mkdir -p "$(APP)/Contents/Resources"
cp "$<" "$@"
$(CLI): $(CLI_SOURCES) $(CONFIG_LIBRARY) Makefile
mkdir -p "$(APP)/Contents/MacOS"
$(SWIFT) -target $(ARCH)-apple-macosx15.0 -swift-version 6 -parse-as-library -O $(DEBUG_FLAGS) $(CLI_SOURCES) $(CONFIG_FLAGS) -framework AppKit -o $@
$(BUNDLE_STAMP): $(PLAYER) $(BOOTSTRAP) $(CLI) $(APP)/Contents/Info.plist $(APP)/Contents/Resources/TOMLDecoder-LICENSE.txt $(NATIVE_STAMP) $(HELPER_STAMP) Scripts/bundle.py
$(BUNDLE_STAMP): $(PLAYER) $(BOOTSTRAP) $(CLI) $(APP)/Contents/Info.plist $(APP)/Contents/Resources/AppIcon.icns $(APP)/Contents/Resources/TOMLDecoder-LICENSE.txt $(NATIVE_STAMP) $(HELPER_STAMP) Scripts/bundle.py
python3 Scripts/bundle.py --app "$(APP)" --dependencies "$(DEPENDENCY_ROOT)" --signing-identity "$(SIGNING_IDENTITY)"
touch "$@"
+2
View File
@@ -19,6 +19,8 @@ The first build downloads dependencies. Quit Terebi before updating, then run `m
To run without installing, use `make run`. The built `.build/terebi.app` is self-contained; no separate FFmpeg, Python or yt-dlp installation is needed at runtime. Builds are ad-hoc signed, not notarized. Bundled licenses and source archives are in the app's Resources; public binary redistribution needs a separate license audit.
The app icon uses layered glass screens and the amber, ember, cream and dark-brown colors from the application's `SunsetPalette`, with a large play symbol for small Dock sizes. It is bundled from `Resources/AppIcon.icns`; its editable vector source is `Resources/AppIcon.svg`. Rasterize the SVG with AppKit to preserve its gradients and transparency.
## Usage
- **Local files:** use **⌘O**, drag files onto the player, or choose Finder's **Open With**. Multiple files form a queue in natural filename order, with automatic advance. Use **View → Show Queue** to play, reorder or remove items; **+ → file icon** or dropping files onto the sidebar appends them. The queue lasts only for the session; opening other media replaces it.
Binary file not shown.
+42
View File
@@ -0,0 +1,42 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 320" width="1024" height="1024">
<defs>
<linearGradient id="shell" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#49352b"/>
<stop offset="48%" stop-color="#2c211c"/>
<stop offset="100%" stop-color="#1f1714"/>
</linearGradient>
<linearGradient id="ember" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#f2943b"/>
<stop offset="100%" stop-color="#c2452e"/>
</linearGradient>
<linearGradient id="rim" x1="0%" y1="0%" x2="75%" y2="100%">
<stop offset="0%" stop-color="#ffe3b5"/>
<stop offset="40%" stop-color="#f2943b"/>
<stop offset="100%" stop-color="#c2452e"/>
</linearGradient>
<linearGradient id="glass" x1="0%" y1="0%" x2="80%" y2="100%">
<stop offset="0%" stop-color="#68432e"/>
<stop offset="50%" stop-color="#38241b"/>
<stop offset="100%" stop-color="#1f1714"/>
</linearGradient>
<linearGradient id="play" x1="0%" y1="0%" x2="60%" y2="100%">
<stop offset="0%" stop-color="#ffe3b5"/>
<stop offset="100%" stop-color="#f2943b"/>
</linearGradient>
<linearGradient id="shine" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#ffe3b5" stop-opacity=".22"/>
<stop offset="100%" stop-color="#ffe3b5" stop-opacity="0"/>
</linearGradient>
</defs>
<rect x="24" y="29" width="272" height="272" rx="62" fill="#1f1714" fill-opacity=".22"/>
<rect x="24" y="24" width="272" height="272" rx="62" fill="url(#shell)"/>
<rect x="25" y="25" width="270" height="270" rx="61" fill="none" stroke="#d9c7a6" stroke-opacity=".25" stroke-width="2"/>
<rect x="63" y="77" width="194" height="160" rx="31" transform="rotate(-12 160 157)" fill="url(#ember)"/>
<rect x="64" y="78" width="192" height="158" rx="30" transform="rotate(-12 160 157)" fill="none" stroke="#ffe3b5" stroke-opacity=".35" stroke-width="2"/>
<rect x="46" y="98" width="228" height="170" rx="37" fill="#1f1714" fill-opacity=".5"/>
<rect x="46" y="90" width="228" height="170" rx="37" fill="url(#rim)"/>
<rect x="54" y="98" width="212" height="154" rx="29" fill="url(#glass)"/>
<path d="M83 101H237Q263 101 263 127V143Q165 125 57 173V127Q57 101 83 101Z" fill="url(#shine)"/>
<path d="M136 137Q136 129 144 134L207 175Q215 180 207 185L144 226Q136 231 136 223Z" fill="#1f1714" fill-opacity=".65"/>
<path d="M136 130Q136 122 144 127L207 168Q215 173 207 178L144 219Q136 224 136 216Z" fill="url(#play)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

+1
View File
@@ -6,6 +6,7 @@
<key>CFBundleIdentifier</key><string>local.personal.terebi</string>
<key>CFBundleName</key><string>Terebi</string>
<key>CFBundleDisplayName</key><string>Terebi</string>
<key>CFBundleIconFile</key><string>AppIcon</string>
<key>CFBundlePackageType</key><string>APPL</string>
<key>CFBundleShortVersionString</key><string>0.1</string>
<key>LSMinimumSystemVersion</key><string>15.0</string>