Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions age-viewer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"embed"

"github.com/lxn/win"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
Expand All @@ -18,13 +19,13 @@ func main() {
// Create application with options
err := wails.Run(&options.App{
Title: "Apache_Age_Viewer",
Width: 1024,
Height: 768,
Width: int(win.GetSystemMetrics(win.SM_CXSCREEN)), //setting dynaic width
Height: int(win.GetSystemMetrics(win.SM_CYSCREEN)), //setting dynamic height
AssetServer: &assetserver.Options{
Assets: assets,
},
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
OnStartup: app.router,
OnStartup: app.router,
Bind: []interface{}{
app,
},
Expand Down
20 changes: 0 additions & 20 deletions agensgraph.c

This file was deleted.

Binary file added build/bin/age_viewer_go.exe
Binary file not shown.
1 change: 1 addition & 0 deletions frontend/dist/assets/index.2a669183.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions frontend/dist/assets/index.a1884f85.js

Large diffs are not rendered by default.

Binary file added frontend/dist/assets/logo-universal.372cbbc1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
10 changes: 8 additions & 2 deletions frontend/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,21 @@
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>age_viewer_go</title>
<script type="module" crossorigin src="/assets/index.a1884f85.js"></script>
<link rel="stylesheet" href="/assets/index.a150cdbe.css">
<link rel="stylesheet" href="/assets/index.2a669183.css">
</head>
<body>
<div id="root"></div>
<div class="content">
<img src="/assets/logo-universal.372cbbc1.png" id="logo" alt="logo">
</div>

<button class="popup-button">Start</button>
<div>
<button class="popup-button">Start</button>
</div>
<div>
<button class="popup-button">Help</button>
</div>


</body>
</html>
Expand Down
8 changes: 7 additions & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
<img src="src/assets/images/logo-universal.png" id="logo" alt="logo">
</div>

<button class="popup-button">Start</button>
<div>
<button class="popup-button">Start</button>
</div>
<div>
<button class="popup-button">Help</button>
</div>

<script src="./src/main.jsx" type="module"></script>
</body>
</html>
Expand Down
Loading