update
This commit is contained in:
parent
3785e5700a
commit
626e4b331a
5 changed files with 13 additions and 5 deletions
|
@ -2,4 +2,4 @@
|
||||||
import WebViewControls from "../webview-navigation/TopBar.astro"
|
import WebViewControls from "../webview-navigation/TopBar.astro"
|
||||||
---
|
---
|
||||||
<WebViewControls />
|
<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>
|
|
@ -1 +1 @@
|
||||||
<webview class="fullview" src="https://notes.korbsstudio.com/nexus-polestar/webview.html"></webview>
|
<webview class="fullview" src="https://sudovanilla.com/"></webview>
|
|
@ -17,6 +17,7 @@ import '../styles/os.scss'
|
||||||
---
|
---
|
||||||
<script src="./scripts/navigation.js" crossorigin="anonymous"></script>
|
<script src="./scripts/navigation.js" crossorigin="anonymous"></script>
|
||||||
<script src="./scripts/theme.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 src="./scripts/webview.js" crossorigin="anonymous"></script>
|
||||||
<script defer src="./font-awesome-6.3.0/js/all.js"></script>
|
<script defer src="./font-awesome-6.3.0/js/all.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[os="Mac"] .sidebar-header {
|
[os="Mac"] .sidebar-header-left {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
|
@ -1,4 +1,5 @@
|
||||||
const {app, Menu} = require('electron')
|
const {app, Menu} = require('electron')
|
||||||
|
let Platform = require('./platform')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
MainMenu: function() {
|
MainMenu: function() {
|
||||||
|
@ -53,8 +54,14 @@ module.exports = {
|
||||||
{
|
{
|
||||||
label: 'View',
|
label: 'View',
|
||||||
submenu: [
|
submenu: [
|
||||||
{ role: 'reload' },
|
{
|
||||||
{ role: 'forceReload' },
|
label: 'Reload',
|
||||||
|
accelerator: 'CmdOrCtrl+R',
|
||||||
|
click: async () => {
|
||||||
|
mainWindow.reload()
|
||||||
|
setTimeout(() => {Platform.Class()}, 1000)
|
||||||
|
}
|
||||||
|
},
|
||||||
{ role: 'toggleDevTools' },
|
{ role: 'toggleDevTools' },
|
||||||
{
|
{
|
||||||
label: 'Open WebView Developer Tools',
|
label: 'Open WebView Developer Tools',
|
||||||
|
|
Reference in a new issue