Xamarin Project (OSX)
In order for you to change the appearance of your launchers we added an archive with the source code of the Xamarin project to the package.
If you do not have Visual Studio for Mac installed, please install it from the official site. Also, before installation, make sure macOS (Cocoa) is selected.
If you do not have last version of Xcode, download it from AppStore.
Unpack the SGPatcherXamarin-source.zip archive to any folder(this archive is located on the following path: Assets/SIDGIN/SIDGIN.Patcher/).
Next, open the project SIDGIN.Patcher.VSClientMac.csproj.
To edit launcher view open Main.storyboard with Xcode.
You should see this window:
In this editor you can add, change controls and other application parameters. After you have made all the necessary changes, save and close this window.
Change application icons
To change the icons we have proposed to your own double-click on Assets.xcassets and select AppIcon.
Scroll all the way down and you can show icons for mac. Replace them.
All update logic is concentrated in the ViewController class. Here you can see several methods:
- Start - starts the update process.
- GetConfigurationBuilder - loads a configuration file from disk.
- MainProgress - displays the program process.
If you want to change the logic, please see the section SG Patcher API.
To build application go to Build -> Build All. After build you will receive a file and you must place the configuration(Version Building) file inside app file and configure the localization(Multilingual).
For a deeper understanding of Xamarin please read the official documentation.