Browse Source

WIP

pull/9085/head
daniilpavliuchyk 3 years ago
parent
commit
f6cae3af06
  1. 3
      native/Avalonia.Native/src/OSX/main.mm
  2. 8
      samples/ControlCatalog.NetCore/Program.cs

3
native/Avalonia.Native/src/OSX/main.mm

@ -4,6 +4,7 @@
static NSString* s_appTitle = @"Avalonia";
static int disableSetProcessName;
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@ -101,9 +102,7 @@ void SetProcessName(NSString* appTitle) {
class MacOptions : public ComSingleObject<IAvnMacOptions, &IID_IAvnMacOptions>
{
public:
FORWARD_IUNKNOWN()
virtual HRESULT SetApplicationTitle(char* utf8String) override

8
samples/ControlCatalog.NetCore/Program.cs

@ -115,14 +115,6 @@ namespace ControlCatalog.NetCore
UseDBusMenu = true,
EnableIme = true
})
.With(new MacOSPlatformOptions()
{
DisableSetProcessName = true
})
.With(new AvaloniaNativePlatformOptions()
{
AvaloniaNativeLibraryPath = "/Users/daniilpavliuchyk/Library/Developer/Xcode/DerivedData/Avalonia.Native.OSX-hchxgrlrewlcvufcdcugzgajjpdt/Build/Products/Debug/libAvalonia.Native.OSX.dylib"
})
.UseSkia()
.AfterSetup(builder =>
{

Loading…
Cancel
Save