mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-10-01 03:11:45 +00:00
Update to native Electron 13.1.5, Update Changelog
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
|
||||
<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>
|
||||
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
||||
<TypeScriptToolsVersion>4.0</TypeScriptToolsVersion>
|
||||
<TypeScriptToolsVersion>4.2</TypeScriptToolsVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="Controllers\ManageWindowsController.cs" />
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
"build": {
|
||||
"appId": "com.electronnetapidemos.app",
|
||||
"productName": "ElectronNET API Demos",
|
||||
"copyright": "Copyright <20> 2019",
|
||||
"buildVersion": "5.22.12",
|
||||
"copyright": "Copyright <20> 2019-2021",
|
||||
"buildVersion": "13.5.1",
|
||||
"compression": "maximum",
|
||||
"win": {
|
||||
"icon": "Assets/electron.ico",
|
||||
|
||||
@@ -19,8 +19,8 @@ function handleSectionTrigger(event) {
|
||||
document.getElementById(sectionId).classList.add('is-shown');
|
||||
}
|
||||
|
||||
function activateDefaultSection () {
|
||||
document.getElementById('button-windows').click()
|
||||
function activateDefaultSection() {
|
||||
document.getElementById('button-windows').click()
|
||||
}
|
||||
|
||||
function showMainContent() {
|
||||
@@ -39,29 +39,29 @@ function handleModalTrigger(event) {
|
||||
document.getElementById(modalId).classList.add('is-shown');
|
||||
}
|
||||
|
||||
function hideAllModals () {
|
||||
const modals = document.querySelectorAll('.modal.is-shown')
|
||||
Array.prototype.forEach.call(modals, function (modal) {
|
||||
modal.classList.remove('is-shown')
|
||||
})
|
||||
showMainContent()
|
||||
function hideAllModals() {
|
||||
const modals = document.querySelectorAll('.modal.is-shown')
|
||||
Array.prototype.forEach.call(modals, function (modal) {
|
||||
modal.classList.remove('is-shown')
|
||||
})
|
||||
showMainContent()
|
||||
}
|
||||
|
||||
function hideAllSectionsAndDeselectButtons () {
|
||||
const sections = document.querySelectorAll('.js-section.is-shown')
|
||||
Array.prototype.forEach.call(sections, function (section) {
|
||||
section.classList.remove('is-shown')
|
||||
})
|
||||
function hideAllSectionsAndDeselectButtons() {
|
||||
const sections = document.querySelectorAll('.js-section.is-shown')
|
||||
Array.prototype.forEach.call(sections, function (section) {
|
||||
section.classList.remove('is-shown')
|
||||
})
|
||||
|
||||
const buttons = document.querySelectorAll('.nav-button.is-selected')
|
||||
Array.prototype.forEach.call(buttons, function (button) {
|
||||
button.classList.remove('is-selected')
|
||||
})
|
||||
const buttons = document.querySelectorAll('.nav-button.is-selected')
|
||||
Array.prototype.forEach.call(buttons, function (button) {
|
||||
button.classList.remove('is-selected')
|
||||
})
|
||||
}
|
||||
|
||||
function displayAbout() {
|
||||
hideNav();
|
||||
document.querySelector('#about-modal').classList.add('is-shown')
|
||||
document.querySelector('#about-modal').classList.add('is-shown')
|
||||
}
|
||||
|
||||
function hideNav() {
|
||||
@@ -75,6 +75,6 @@ function showNav() {
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
activateDefaultSection();
|
||||
displayAbout();
|
||||
}, 100);
|
||||
activateDefaultSection();
|
||||
displayAbout();
|
||||
}, 250);
|
||||
Reference in New Issue
Block a user