Show the app as Starsync (window titles, launcher entry, About, README); internals unchanged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
745717a4a0
commit
151ec95289
6 files changed
+9
-9
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="apps/desktop/assets/icon/icon_256.png" width="128" height="128" alt="watch-together icon">
|
<img src="apps/desktop/assets/icon/icon_256.png" width="128" height="128" alt="Starsync icon">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h1 align="center">watch-together</h1>
|
<h1 align="center">Starsync</h1>
|
||||||
|
|
||||||
Watch a video with friends, in sync, with the quality of a real mpv player.
|
Watch a video with friends, in sync, with the quality of a real mpv player.
|
||||||
Pick from your Jellyfin library, paste any direct video link, or pick a file on your own disk;
|
Pick from your Jellyfin library, paste any direct video link, or pick a file on your own disk;
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import 'package:hive_ce/hive.dart';
|
|||||||
import 'package:sync_relay_core/core.dart';
|
import 'package:sync_relay_core/core.dart';
|
||||||
|
|
||||||
import '../screens/home/picked_media.dart';
|
import '../screens/home/picked_media.dart';
|
||||||
import '../screens/home/ui.dart' show appName;
|
|
||||||
import '../update/updater.dart' show appVersion;
|
import '../update/updater.dart' show appVersion;
|
||||||
|
|
||||||
// Linked Jellyfin servers, one account per ServerId, in their own Hive box.
|
// Linked Jellyfin servers, one account per ServerId, in their own Hive box.
|
||||||
@@ -215,7 +214,8 @@ class JellyfinAccounts extends ChangeNotifier {
|
|||||||
String get deviceId => _deviceId;
|
String get deviceId => _deviceId;
|
||||||
|
|
||||||
JellyfinClientInfo get clientInfo => JellyfinClientInfo(
|
JellyfinClientInfo get clientInfo => JellyfinClientInfo(
|
||||||
client: appName,
|
// The old name on purpose: Jellyfin lists devices under it.
|
||||||
|
client: 'Watch Together',
|
||||||
device: deviceName ?? _hostname(),
|
device: deviceName ?? _hostname(),
|
||||||
deviceId: _deviceId.isEmpty ? 'unknown' : _deviceId,
|
deviceId: _deviceId.isEmpty ? 'unknown' : _deviceId,
|
||||||
version: appVersion,
|
version: appVersion,
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ Future<void> installDesktopEntry({String? executable, String? dataHome, String?
|
|||||||
@visibleForTesting
|
@visibleForTesting
|
||||||
String desktopEntryText(String exe) => '''[Desktop Entry]
|
String desktopEntryText(String exe) => '''[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Watch together
|
Name=Starsync
|
||||||
Comment=Watch videos in sync with friends
|
Comment=Watch videos in sync with friends
|
||||||
Exec="$exe"
|
Exec="$exe"
|
||||||
Icon=$appId
|
Icon=$appId
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
/// Product name (working title). Change it here only.
|
/// Product name (working title). Change it here only.
|
||||||
const appName = 'Watch Together';
|
const appName = 'Starsync';
|
||||||
|
|
||||||
const repoUrl = 'https://git.senkochan.moe/Foxyz/sync_replay_project';
|
const repoUrl = 'https://git.senkochan.moe/Foxyz/sync_replay_project';
|
||||||
|
|
||||||
|
|||||||
@@ -45,11 +45,11 @@ static void my_application_activate(GApplication* application) {
|
|||||||
if (use_header_bar) {
|
if (use_header_bar) {
|
||||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||||
gtk_header_bar_set_title(header_bar, "watch_together");
|
gtk_header_bar_set_title(header_bar, "Starsync");
|
||||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||||
} else {
|
} else {
|
||||||
gtk_window_set_title(window, "watch_together");
|
gtk_window_set_title(window, "Starsync");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_default_size(window, 1280, 720);
|
gtk_window_set_default_size(window, 1280, 720);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
|||||||
FlutterWindow window(project);
|
FlutterWindow window(project);
|
||||||
Win32Window::Point origin(10, 10);
|
Win32Window::Point origin(10, 10);
|
||||||
Win32Window::Size size(1280, 720);
|
Win32Window::Size size(1280, 720);
|
||||||
if (!window.Create(L"watch_together", origin, size)) {
|
if (!window.Create(L"Starsync", origin, size)) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
window.SetQuitOnClose(true);
|
window.SetQuitOnClose(true);
|
||||||
|
|||||||
Reference in new issue
Block a user