Skip to content

Commit 90c3eb2

Browse files
authored
Merge pull request #935 from softworkz/submit_ts_project
ElectronNET.Host: Replace website by a real ts project
2 parents dbf76a1 + 6c9027f commit 90c3eb2

File tree

17 files changed

+425
-150
lines changed

17 files changed

+425
-150
lines changed
Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "node",
9-
"request": "launch",
10-
"name": "Launch Electron App",
11-
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
12-
"program": "${workspaceFolder}/main.js",
13-
"sourceMaps": true,
14-
"args": [
15-
"--test=true",
16-
"--blub=wuhuu"
17-
]
18-
}
19-
]
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Electron App",
11+
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
12+
"program": "${workspaceFolder}/main.js",
13+
"skipFiles": [ "<node_internals>/**" ],
14+
"cwd": "${workspaceFolder}",
15+
"console": "externalTerminal",
16+
"args": [
17+
"--test=true"
18+
]
19+
}
20+
]
2021
}

src/ElectronNET.Host/ElectronHostHook/connector.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/ElectronHostHook/connector.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/ElectronHostHook/index.js

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/ElectronHostHook/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.3864779">
2+
<ItemGroup>
3+
<None Include=".vscode\tasks.json" />
4+
</ItemGroup>
5+
</Project>

src/ElectronNET.Host/api/ipc.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/api/ipc.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = [
2+
{
3+
rules: {
4+
// Add rules here.
5+
}
6+
}
7+
];

src/ElectronNET.Host/globals.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Ambient declarations to silence implicit any / global index usage
2+
// Minimal surface – expand only if further errors appear.
3+
declare var browserViews: any;
4+
declare var tray: any;
5+
declare var electronsocket: any;

0 commit comments

Comments
 (0)