Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jim Lin
    @jim-lin507
    Hi, I built target Linux successfully on Linux Virtual Machine with Electron.Net 9.31.2, but when I run target Linux, there is a error occurred, which is "Cannot find module 'fs/promises'.
    tub5
    @tub5
    We're on Electron.NET 13.5.1. Any reason you're using the old version?
    Jim Lin
    @jim-lin507
    Yes, because my project is based on .Net core 3.1
    tub5
    @tub5
    There was a fix put in place due to electron-builder updating one of their dependencies on the minor release
    But 9.31.2 won't have that
    Could be the issue
    Jim Lin
    @jim-lin507
    ElectronNET/Electron.NET#288, there is a similar issue before. I would like to know if I can use specific version of electron-builder.
    farhad-rad
    @farhad-rad
    Hi everyone. I couldnt find any full documentation for ElectronNet thus I dont know how to do things we can do in electron when developing using node js (Specially adding chrome extensions I'm looking for).
    Jim Lin
    @jim-lin507
    @tub5 Hi, today I created a demo project on Electron.Net 13.5.1, I still got the same error("Cannot find module 'fs/promises'.). The version of electron-builder is 22.14.5, the version of node is 14.15.4
    7 replies
    Spartan2417
    @Spartan2417
    I have an application (blazor + electron .net) that needs to override a connection that is used later on in the process (client -> server). Im passing through a string at the minute in the form of
    electronize start /args --test=hello , which works to Program.cs. What is the standard way of getting this argument to a razor.cs page?
    3 replies
    Scott Benjamin
    @sbenjamin:matrix.org
    [m]
    Good morning everyone! Happy Thursday! I have a quick question regarding the electron.net splash screen. Is it possible to use a limited web page (layout, css, js) instead of a simple image or animated gif?
    1 reply
    Daniel Gidman
    @danatcofo
    Has anyone run into issues on non-english windows base systems where it gets stuck on the spashscreen?
    2 replies
    Pouya SharifPour
    @NotMurPh
    hello , does ElectronNET support .NET Framework 6 ?
    Daniel Gidman
    @danatcofo
    Not as yet.
    Jahongir
    @sjahongir
    Hi everybody
    I have a querstion
    How can I get an application execution path or assembly path
    var assemblyPath = Path.GetDirectoryName(typeof(Program).Assembly.Location);
    this is returns null
    1 reply
    Mikhail Gerassimov
    @Magniveo
    System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
    Daniel Gidman
    @danatcofo
    NET6 support PR, Feedback please!
    ElectronNET/Electron.NET#636
    3 replies
    deltafireEngenharia
    @deltafireEngenharia
    Hey guys! What is needed to create an electronNet app with with react inside asp net core project. i run electronize build /target win, but it creates an blank app
    6 replies
    NakShi
    @NakShi
    Hi all! Quick question.
    As I create an installer with "electronize build /target", when it creates an installer, is there a way to make the installer upgrade the currently installed program instead of overwriting?
    sFireFrog
    @sFireFrog
    Are you talking about incremental updates?
    NakShi
    @NakShi
    Yes!
    Right now, I have to
    1. Back up the old one's DBs
    2. Install/Overwrite with new application
    3. Copy paste in the old DBs.
    4. Run the app to run the migration.
    tub5
    @tub5
    I just put the persistent data in another folder
    NakShi
    @NakShi
    Do you have a procedure inside your code where it checks, create if non-existent, access the "another folder"?
    tub5
    @tub5
    I have a custom NSIS installer that allows the user to select the path to install the app and a configurable path for config (if they want to change it)
    sFireFrog
    @sFireFrog
    It’s better to start another program to fulfill your needs
    Daniel Gidman
    @danatcofo
    There are common places in all the os where persistent & common data can be stored and is expected to be stored. Windows is inside ProgramData, linux an Mac have their own locations. Best practice is to use those locations for what they are intended.
    1 reply
    NakShi
    @NakShi
    Gotcha, thank you guys for the input!
    Guillermo Orue Marighetti
    @ggomarighetti
    hello, I try to change the title of my app when a page load. I use Electron.WindowManager.BrowserWindows.First() to get the current Window, but, sometimes work and sometimes it's doesn´t
            protected override void OnInitialized()
            {
                base.OnInitialized();
                Electron.WindowManager.BrowserWindows.First().SetTitle("test");
            }
    it's like sometimes it renders fast and when the function is executed it doesn't return null, and there are other times it doesn't.
    Daniel Gidman
    @danatcofo
    I set my title in the options, however doing it your way doesn’t guarantee that the window has actually been created yet.
    Guillermo Orue Marighetti
    @ggomarighetti
    Does anyone have the documentation of the events? visual studio only brings me 3 or 4 with intellisense.

    I set my title in the options, however doing it your way doesn’t guarantee that the window has actually been created yet.

    yes, but i update on the pages, ex: "Login - Myapp" or "Dashboard - Myapp"

    sFireFrog
    @sFireFrog
    Has anyone solved the problem of socket communication slow for the first time?
    MALIK SHAHID
    @mALIk-sHAHId
    hello i need some help if i make frameless window how i can set min max and close buttons in my html file in asp.net core
    sFireFrog
    @sFireFrog
    Hi Guys, why not use socket.io version 4.4.0 is there any problem?
    Daniel Gidman
    @danatcofo
    Put a pr in for it. Though test it to make sure it works first.
    sFireFrog
    @sFireFrog
    I tried it, but it doesn't work
    Rıza Soylu
    @riza.soylu:matrix.org
    [m]
    Hello, how can I install chrome extensions on ElectronNet?
    I saw an example on Electron js.
    const electron = require('electron');
    electron.whenReady().then(async () => {
    await electron.defaultSession.loadExtension(extensionPath);
    });
    Daniel Gidman
    @danatcofo
    @GregorBiswanger any updates on timing for a new release?
    somasundar
    @somasundar:matrix.org
    [m]
    hi, i am trying to create a electron app with .net core 6.0. i can't find some reference how to use electron on 6.0. thanks in advance.
    5 replies
    Miraisann
    @MiyamuraMiyako
    Hi everyone,I want to use Electron.Net in LAN, How to direcct use local electron?
    Daniel Gidman
    @danatcofo
    Anyone have any good links on how the new .net 6 minimal api’s work and how to structure code for them? My search fu is lacking today.
    2 replies
    schaveyt
    @schaveyt
    All I'm new to gitter. How the heck do reply directly to a msg?
    schaveyt
    @schaveyt
    👍 to question of next release timeline posed by @danatcofo to @GregorBiswanger