1
Fork 0
This commit is contained in:
Korbs 2023-07-11 01:16:59 -04:00
parent 3785e5700a
commit 626e4b331a
No known key found for this signature in database
5 changed files with 13 additions and 5 deletions

View file

@ -2,4 +2,4 @@
import WebViewControls from "../webview-navigation/TopBar.astro"
---
<WebViewControls />
<webview class="fullview with-controls" src="https://notes.korbsstudio.com/nexus-polestar/webview.html"></webview>
<webview class="fullview with-controls" src="https://sudovanilla.com/"></webview>

View file

@ -1 +1 @@
<webview class="fullview" src="https://notes.korbsstudio.com/nexus-polestar/webview.html"></webview>
<webview class="fullview" src="https://sudovanilla.com/"></webview>

View file

@ -17,6 +17,7 @@ import '../styles/os.scss'
---
<script src="./scripts/navigation.js" crossorigin="anonymous"></script>
<script src="./scripts/theme.js" crossorigin="anonymous"></script>
<script src="./scripts/toggle.js" crossorigin="anonymous"></script>
<script src="./scripts/webview.js" crossorigin="anonymous"></script>
<script defer src="./font-awesome-6.3.0/js/all.js"></script>

View file

@ -1,4 +1,4 @@
[os="Mac"] .sidebar-header {
[os="Mac"] .sidebar-header-left {
pointer-events: none;
opacity: 0;
}

View file

@ -1,4 +1,5 @@
const {app, Menu} = require('electron')
let Platform = require('./platform')
module.exports = {
MainMenu: function() {
@ -53,8 +54,14 @@ module.exports = {
{
label: 'View',
submenu: [
{ role: 'reload' },
{ role: 'forceReload' },
{
label: 'Reload',
accelerator: 'CmdOrCtrl+R',
click: async () => {
mainWindow.reload()
setTimeout(() => {Platform.Class()}, 1000)
}
},
{ role: 'toggleDevTools' },
{
label: 'Open WebView Developer Tools',