Comments (8)
@eramudeep I discovered a problem with Symantec Antivirus. It for some reason blocks rendering in prod mode.
What's antivirus do you use? Try disabling it to try discovery if be the same problem.
Thanks for the answer.
actually, the problem was with React router.
I changed it to
<HashRouter> <Switch> <Route exact path={"/"} component={Login}></Route> <Route exact path={"/welcome"} component={Welcome}></Route> <Route path={"*"} exact insecure component={NotFound} ></Route> </Switch> </HashRouter>
Did fix my problem.
Now it's working like a charm on Mac, Winx86 and Ubuntu :)
from secure-electron-template.
I did update to v11.0.1 from electron and it worked
https://www.electronjs.org/releases/stable#release-notes-for-v1101
from secure-electron-template.
Thanks for the discovery @abfurlan , an update has been pushed to the repo.
from secure-electron-template.
@eramudeep can you change devTools
to true and see if any error is in the console when running npm run prod
?
// Create the browser window.
win = new BrowserWindow({
width: 800,
height: 600,
title: "Application is currently initializing...",
webPreferences: {
devTools: true, //isDev
}
});
from secure-electron-template.
i am still facing the same problem.
Version:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) legitquest/1.0.2 Chrome/91.0.4472.77 Electron/13.1.2 Safari/537.36"
from secure-electron-template.
@eramudeep I discovered a problem with Symantec Antivirus. It for some reason blocks rendering in prod mode.
What's antivirus do you use? Try disabling it to try discovery if be the same problem.
from secure-electron-template.
bad luck.
it's working on Mac, Winx86 and Ubuntu :)
but not working on ubuntu 16 :(
from secure-electron-template.
😢
from secure-electron-template.
Related Issues (20)
- integrating react v18 be default HOT 2
- React Devtools won't load in packaged app? HOT 5
- NPM Audit Fix --Force Breaks Template HOT 1
- How to update packges? HOT 1
- typescript imports should just work in vscode HOT 2
- How I can install Tailwind?
- Make a Worker on button click HOT 1
- Deploying an auto-updating after build HOT 1
- Requesting a Vue example, instead of React
- Requesting a SQLite example, instead of JSON
- Cannot use import statements outside a module HOT 1
- Is it ok to Import libraries like SortableJs directly into Renderer? or should it be done through preload as well? HOT 2
- electron + webpack + angular HOT 1
- how to access the .env variables ?
- Unable to use react-apexcharts with the template HOT 1
- Old electron & 28 vulnerabilities HOT 2
- Not secure app, able to content of files after building app HOT 1
- Browser route not working from index.tsx file by npm run prod
- App opens only when VSCode is started first time
- Protocol Path Sanitisation
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 secure-electron-template.