This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
</body> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow, Menu} = require('electron') | |
app.on('ready', function() { | |
var mainWindow = new BrowserWindow({}); | |
var menuTemplate = [ | |
{ | |
label: 'View', | |
submenu: [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\functional:10: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\xmemory(758,76): error: call to implicitly-deleted copy constructor of 'std::pair<const unsigned int, Ex1>' | |
::new (const_cast<void*>(static_cast<const volatile void*>(_Ptr))) _Objty(_STD forward<_Types>(_Args)...); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\list(541,25): note: in instantiation of function template specialization 'std::_Default_allocator_traits<std::allocator<std::_List_node<std::pair<const unsigned int, Ex1>, | |
void *> > >::construct<std::pair<const unsigned int, Ex1>, const std::pair<const unsigned int, Ex1> &>' requested here | |
_Alnode_traits::construct(this->_Al, _STD addressof(this-> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thread #1, name = 'CrRendererMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x500000018) | |
* frame #0: 0x000000010eb6bdb5 Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::Isolate::FromHeap(v8::internal::Heap*) at isolate.h:910:71 [opt] | |
frame #1: 0x000000010eb6bdb5 Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::GetIsolateFromWritableObject(object=<unavailable>) at isolate-utils-inl.h:41 [opt] | |
frame #2: 0x000000010eb6bdab Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::Context::GetIsolate(this=<unavailable>) const at contexts-inl.h:48 [opt] | |
frame #3: 0x000000010eb6bdab Electron Framework`v8::Context::GetIsolate(this=0x00007f80db840248) at api.cc:5997 [opt] | |
frame #4: 0x0000000111b32d74 Electron Framework`blink::ToLocalDOMWindow(context=(val_ = 0x00007f80db840248)) at v8_binding_for_core.cc:645:28 [opt] | |
frame #5: 0x0000000111b3c6a7 Electron Framework`blink::PromiseRejectHandlerInMainThread(v8: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* thread #1, name = 'CrRendererMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x500000018) | |
* frame #0: 0x000000010b07cef5 Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::Isolate::FromHeap(v8::internal::Heap*) at isolate.h:910:71 [opt] | |
frame #1: 0x000000010b07cef5 Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::GetIsolateFromWritableObject(object=<unavailable>) at isolate-utils-inl.h:41 [opt] | |
frame #2: 0x000000010b07ceeb Electron Framework`v8::Context::GetIsolate() [inlined] v8::internal::Context::GetIsolate(this=<unavailable>) const at contexts-inl.h:48 [opt] | |
frame #3: 0x000000010b07ceeb Electron Framework`v8::Context::GetIsolate(this=0x00007fdcb203b218) at api.cc:5997 [opt] | |
frame #4: 0x000000010e0437e4 Electron Framework`blink::ToLocalDOMWindow(context=(val_ = 0x00007fdcb203b218)) at v8_binding_for_core.cc:645:28 [opt] | |
frame #5: 0x000000010e04d117 Electron Framework`blink::PromiseRejectHandlerInMainThread(v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
</body> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
</body> | |
<script> | |
const remote = require('electron').remote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/descriptor.gen.obj | |
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Modules to control application life and create native browser window | |
const {app, BrowserWindow} = require('electron') | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the JavaScript object is garbage collected. | |
let mainWindow | |
function createWindow () { | |
// Create the browser window. | |
mainWindow = new BrowserWindow({ |