在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):syncthing/syncthing-macos开源软件地址(OpenSource Url):https://github.com/syncthing/syncthing-macos开源编程语言(OpenSource Language):Objective-C 68.6%开源软件介绍(OpenSource Introduction):Syncthing for macOSIntroduction
Features include:
ScreenshotInstallationNOTICE: This is the official Syncthing macOS application bundle. Please make sure you have no other syncthing instances or wrappers running or else this application will not work! Currently, OS X 10.12 or higher is necessary. syncthing-macos is packaged as a disk image as an application bundled with the syncthing binary. To install just download the dmg, mount it and drag and drop the application to install. The only necessary configuration is to set the API key and URL when provisioning a remote syncthing instance, the local instance is auto-configured. The application automatically keeps the syncthing binary updated, while running. The latest version is available at Github Releases, or it can also be installed using homebrew WhyAll cross-platform approaches are not able to use all the native facilities of macOS. Including auto-updates, vector icon set (retina-ready) and creating an application bundle. GUIs are designed with XCode and everything is coded in Objective-C and Swift which is "the native approach". GoalThe goal of this project is to keep the native macOS Syncthing tray lean but usable. No graphs, no advanced configuration windows. It just provides a very simple wrapper, so users are not aware syncthing ships as a commandline application. It strives to have a usability of good-by-default and should always follow the Apple Human Interface Guidelines to feel as much as an native application as possible. Known bugsSee the issue tracker for the current status. ContributionsContributions and issue reports are welcome. LicenseFAQ: Frequently asked questionsmacOS version support
Preferencessyncthing-macos is designed to run its own syncthing instance and automatically detect the API key. The preferences window is used to point to a local running instance, a remote instance is not supported. It is possible to run your own instance and point to it for advanced/development purposes. You should only change the settings if you know what you are doing. Setting extra syncthing commandline parameters is a hidden feature. You need to write these using the application defaults configuration. The only current limitation the parameters cannot contain spaces!. In the example below the audit log is enabled:
Default IP address changeWhen the default IP address is changed from 127.0.0.1 to a routable one like e.g 192.168.1.102 the tray application
preferences need to be set also. Or else the API cannot be accessed and will stay 'Offline'. If you broke the
configuration you can manually edit the file under the UninstallationOn Mac OS X you drop the application from the Application folder to your Trash.
But there are some user specific files are kept elsewhere, which are located under
Prerequisites for building/using everything in this repositoryBefore compiling git submodules needs to be present:
Using XCodeThe new Compiling from TerminalBuild with XCode or run:
It will automaticly download syncthing universal binary and add it to the Application Bundle. For release builds signing the application build and creating an distributable DMG:
The script will select the first available Developer ID and sign the app with it. To specify the signing identity, use
Design and useful informationSettingsThe Syncthing settings use the NSDefaults facility. From the commandline all settings can be shown with:
Dependency managementCocoaPods is used for dependency management. It can be installed with Homebrew package manager. For more information about CocoaPods read the CocoaPods Guides. Versioning schemeIt uses the shipped syncthing executable version appended with a Compilation and packaging process
Apple Application NotarizeAfter the dmg is created it must be send to Apple to be notarized. It can be checked with spctl if the app is correctly verified by Apple for distribution:
When it is not correctly notarized the following output is seen (note the source):
See also https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution New releaseTo update the bundled syncthing the
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论