Serve updates

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-11-02 22:18:09 +01:00
parent e6ed2b3517
commit c5571db83f
5 changed files with 159 additions and 77 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ async function parseRemotes(remotes: string[]) {
// console.log('[parseRemotes] Adding Stop Serve (' + currentServe.Addr.split(':')[0] + ') for ', remote)
const stopServeMenuItem = await MenuItem.new({
id: `stop-serve-${currentServe.id}`,
text: 'Stop Serve',
text: 'Stop Serve (' + currentServe.id.split('-')[0]?.toUpperCase() + ')',
action: async () => {
try {
await showLoadingTray()
+2
View File
@@ -79,3 +79,5 @@ export const SUPPORTED_BACKENDS = [
'yandex',
'zoho',
]
export const SERVE_TYPES = ['dlna', 'ftp', 'sftp', 'http', 'nfs', 'restic', 's3', 'webdav'] as const