Comments (3)
Take a look at electron-edge-js readme, there are some examples for packaging as well as references to similar issues that people had.
from electron-edge-js-quick-start.
I tried to use electron-builder to package the application, but I still can't make it work.
After generating the .exe I double click it and after the installation it produces an error.
I'm not sure what I'm doing wrong.
This is my package.json
{
"name": "electron-edge-js-quick-start",
"version": "1.0.0",
"description": "Minimal Electron application using `electron-edge-js` with .NET",
"main": "main.js",
"scripts": {
"start": "electron --core .",
"start:core": "electron --core .",
"start:standard": "electron --standard .",
"app:dir": "electron-builder --dir",
"app:dist": "electron-builder",
"postinstall": "electron-builder install-app-deps"
},
"keywords": [
"Electron",
"quick",
"start",
"tutorial",
"demo",
"Edge",
"Edge.js"
],
"license": "MIT",
"devDependencies": {
"electron": "^30.0.2",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "your.id"
},
"dependencies": {
"electron-edge-js": "^30.0.1"
}
}
This is my QuickStart.Core.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.9.2" />
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.DotNet.InternalAbstractions" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="EmailSender_Outlook">
<HintPath>.\bin\Debug\net7.0\EmailSender_Outlook.dll</HintPath>
<Private>true</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="EdgeJs">
<HintPath>..\..\node_modules\electron-edge-js\lib\bootstrap\bin\Release\net6.0\EdgeJs.dll</HintPath>
<Private>true</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\shared\LocalMethods.cs">
<Link>LocalMethods.cs</Link>
</Compile>
</ItemGroup>
</Project>
from electron-edge-js-quick-start.
Did you take a look at packaging instructions that I linked electron-edge-js?
from electron-edge-js-quick-start.
Related Issues (14)
- System.TypeInitializationException error HOT 8
- Loading external .Net library HOT 8
- node version mismatch HOT 2
- TypeError: edge.initializeClrFunc is not a function HOT 22
- What is the node version?
- Ubuntu Error
- Windows 10 Error HOT 1
- The edge module has not been pre-compiled for node.js version
- standalone application and we are unable to locate the .NET Core SDK
- Electron Edge JS Quickstart not runs in .Net 6 environment HOT 15
- Issue while running electron-edge-js-quick-start in Mac HOT 1
- Consistently reproducible C++ Runtime error on reloading Electron window: g_coreclr == nullptr
- Error when running after win64 build.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-edge-js-quick-start.