Skip to content

Commit

Permalink
Deploying to gh-pages from @ 45e0d56 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Dec 18, 2023
1 parent a77ed22 commit 68f7029
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { dotnet } from './dotnet.js'
import { registerAvaloniaModule } from './avalonia.js';

const is_browser = typeof window != "undefined";
if (!is_browser) throw new Error(`Expected to be running in a browser`);
Expand All @@ -8,6 +9,8 @@ const dotnetRuntime = await dotnet
.withApplicationArgumentsFromQuery()
.create();

await registerAvaloniaModule(dotnetRuntime);

const config = dotnetRuntime.getConfig();

await dotnetRuntime.runMainAndExit(config.mainAssemblyName, [window.location.search]);
Binary file modified main.js.br
Binary file not shown.
Binary file modified main.js.gz
Binary file not shown.
Binary file modified managed/Avalonia.Controls.PanAndZoom.dll
Binary file not shown.
Binary file modified managed/Avalonia.Controls.PanAndZoom.dll.br
Binary file not shown.
Binary file modified managed/Avalonia.Controls.PanAndZoom.dll.gz
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Base.dll
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Base.dll.br
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Base.dll.gz
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Web.dll
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Web.dll.br
Binary file not shown.
Binary file modified managed/AvaloniaDemo.Web.dll.gz
Binary file not shown.

0 comments on commit 68f7029

Please sign in to comment.