2025-09-29 13:50:01 -07:00
|
|
|
//
|
|
|
|
|
// HelpURL.swift
|
|
|
|
|
// NetNewsWire
|
|
|
|
|
//
|
|
|
|
|
// Created by Brent Simmons on 9/29/25.
|
|
|
|
|
// Copyright © 2025 Ranchero Software. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
|
|
enum HelpURL: String {
|
|
|
|
|
|
|
|
|
|
case helpHome = "https://netnewswire.com/help/"
|
|
|
|
|
case website = "https://netnewswire.com/"
|
|
|
|
|
case releaseNotes = "https://github.com/Ranchero-Software/NetNewsWire/releases/"
|
|
|
|
|
case howToSupportNetNewsWire = "https://github.com/Ranchero-Software/NetNewsWire/blob/main/Technotes/HowToSupportNetNewsWire.markdown"
|
|
|
|
|
case githubRepo = "https://github.com/Ranchero-Software/NetNewsWire"
|
|
|
|
|
case bugTracker = "https://github.com/Ranchero-Software/NetNewsWire/issues"
|
2025-12-30 22:20:22 -08:00
|
|
|
case discourse = "https://discourse.netnewswire.com/"
|
2025-09-29 13:50:01 -07:00
|
|
|
case technotes = "https://github.com/Ranchero-Software/NetNewsWire/tree/main/Technotes"
|
|
|
|
|
case privacyPolicy = "https://netnewswire.com/privacypolicy.html"
|
|
|
|
|
|
|
|
|
|
#if os(macOS)
|
2025-11-13 20:26:40 -08:00
|
|
|
@MainActor func open() {
|
2025-09-29 13:50:01 -07:00
|
|
|
Browser.open(self.rawValue, inBackground: false)
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|